Jump to content

SHOW a DXF or a DWG file


Recommended Posts

Posted

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?

 

 

Posted

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?

Posted

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.

  • 1 year later...
Posted

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

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.