Objects from dgn not showing up in dwg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all, I work in OpenRoads/Rail and we typically export our files to dwg for our Subs. Usually, everything transfers over fine, but occasionally lines will disappear in AutoCAD. In the past, when this has happened, I used this lisp that I found online:
(defun C:VISIBLE (/ s1 n1)
(setq s1 (ssget "x")
n1 0)
(repeat (sslength s1)
(vla-put-visible (vlax-ename->vla-object (ssname s1 n1)) :vlax-true)
(setq n1 (1+ n1))
)
)
This most recent time, however, after adding that in and running unisolate, AutoCAD is telling me there are no objects to unisolate. All the layers are on/unfrozen/unlocked. I have purged and audited. I am at a loss for what to do to get these lines to show up. At most they should be polylines and simple arcs (maybe splines if that's how they convert).
When the file is first saved, OpenRail opens it, and I can see the lines are in the dwg, but when I open it in AutoCAD, only a few will show.
Any help or insight would be greatly appreciated!
Edit: Well I feel really stupid. For whatever reason, it put half the lines in an xref, not sure where or how but oh well.