Gepponline Posted March 13, 2015 Report Share Posted March 13, 2015 Is there a way to display a DXF or a DWG file?Not an interactive control, I need to display them as they are Images.Is to avoid to export bitmap form dxf files only to show the user a reference layout... something like a preview... Is there a way to do it? Quote Link to comment
Antoine Chalons Posted March 13, 2015 Report Share Posted March 13, 2015 we've asked this from NI multiple times but they say it would be too much work to fully support reading and displaying dxf files, we came up with an compromise that was acceptable for our customers, they have to export their dxf without arcs and then we can parse the dxf files to generate overlays that we display on in IMAQ image. would that work for you knowing it requires the Vision Development Module licence? Quote Link to comment
Yair Posted March 15, 2015 Report Share Posted March 15, 2015 I don't really work with these files myself (certainly not inside LV), but you could also try looking to see if there's a .NET or ActiveX control which can display them and embed that in your front panel. Quote Link to comment
Gribo Posted March 16, 2015 Report Share Posted March 16, 2015 Autodesk Trueview or DesignReview has a COM (ActiveX) component that allows LV to display a DWG file. Quote Link to comment
nidor Posted May 20, 2016 Report Share Posted May 20, 2016 Since there hasn't been any LV code here is an example of getting data from a dxf file into something usefull in LabVIEW and make a drawing from it to show on the frontpanel. This is just a quick and dirty example, but maybe ppl can use something from it. Created in LV 2015 Included export to LV 8.6 Regards Nissen 999 - DXF import.zip 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.