Good morning!
Does anyone know of a way to select all the non-c3d content in a drawing?
I have a really messed up drawing file, and i want to take the non-c3d content in a drawing, and block it out and have it as an x-ref instead.
I was starting to use the quick selection filter, but there's a huge list of entities, lines / polylines / mtext / circles, etc.
Any suggestions?
Cheers,
Jd...
Solved! Go to Solution.
Solved by LyleHardin. Go to Solution.
Solved by tcorey. Go to Solution.
Perhaps you could do it in reverse. Use Quick Select to isolate and erase all of the C3d objects, then save the drawing to a new file. You probably should use the style purge tool also.
Steve
Please use the Accept as Solution or Kudo buttons when appropriate
There's an extensive list of C3d objects as well. 😞
Maybe a way to make all civil 3d objects Non-visible, without having to but a non-visible style to each type?
neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
This code will make a selection set called nonaec:
(defun c:go (/ allobj len ctr ent etyp)
(vl-load-com)
(setq allobj (ssget "All")
len (sslength allobj)
ctr 0)
(setq nonaec (ssadd))
(while (< ctr len)
(setq ent (ssname allobj ctr)
etyp (substr (cdr (assoc 0 (entget ent))) 1 4)
)
(if (/= etyp "AECC")
(ssadd ent nonaec)
)
(setq ctr (1+ ctr))
)
(princ)
);end function
After loading the lisp routine, type Go to make it run. After starting the wblock command, when you go to select objects to export, type !nonaec to have it use the selection set created by the lisp routine. Be sure to use the exclamation mark in front of the selection set name.
Best regards,
Tim
A manual method of selecting the civil stuff is to use the SSX command. See my command text screen below.
Command: SSX
Initializing...
Type "ssx" at a Command: prompt or
(ssx) at any object selection prompt.
Select object <None>: Return
Enter filter option [Block name/Color/Entity/Flag/LAyer/LType/Pick/Style/Thickness/Vector]: e
>>Enter entity type to add <RETURN to remove>: *aec*
Current filter: ((0 . "*aec*"))
Enter filter option [Block name/Color/Entity/Flag/LAyer/LType/Pick/Style/Thickness/Vector]:
108 found.
This will select all the AEC objects in the drawing and save that selection in memory.
You then Wblock "All" and "R"emove "P"revious (the selection you just made with SSX) thusly wblocking out all the non-Civil 3D (aec) objects.
Tim / Hardin
Both methods work!
Thanks for the help.
Definitely going to keep this info. I'm sure i'll use it again at some point.
Cheers,
Jd