AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Find a dwg file with Arch objectects, walls, doors etc.

2 REPLIES 2
Reply
Message 1 of 3
mdhutchinson
630 Views, 2 Replies

Find a dwg file with Arch objectects, walls, doors etc.

How would I go about finding a drawing file in a set of folders that has AutoCAD Arch Walls, Doors, etc in it?

Possible via ObjectDXB?... I have some code, but not certain about how to look for AEC_WALL, AEC_DOOR, AEC_WINDOW etc.

 

 

2 REPLIES 2
Message 2 of 3
Keith.Brown
in reply to: mdhutchinson

Open each drawing. Get a selection set of all objects. Iterate thru the set and check to see if it is the type you want.
Message 3 of 3
Keith.Brown
in reply to: Keith.Brown

You can use something like this to test and see if the object in the selection set is a wall.

 

 (= "AEC_WALL"(cdr (assoc 0 (entget (setq eName (cadr obj))))))

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost