versiona Posted September 23, 2009 Share Posted September 23, 2009 Hi, I would like to know some basic things about AutoCAD. I have to create some function in vba but I don't have a sufficient knowledge to begin. My question is: What is an entity? What is a ModelPlace? What is a Selection Set? Do you have a "hierachic" between object: ModelSpace is in an entity ? What is in what (((polilyne is in acadobject) is in Entity) is in ModelSpace) is in a Layer ?? Some help would be appreciated. Thks Versiona Quote Link to comment Share on other sites More sharing options...
Raggi_Thor Posted September 23, 2009 Share Posted September 23, 2009 An entity is an object. Lines, circles and polylines are entities. ModelSpace is the main block in a AcadDocument (drawing). That block contains all objects you see in modelspace. Other blocks are the PaperSpace block and alle the user defined blocks like for example a door and a title blocks. All blocks, or block definitions to be correct, are collections of entities. A block reference is also an an entity, in MS or PS. You can for example do like this: Set MS = Actovdocument.ModelsPaceFor each Obj in MS Do something ... Look in Help and find the ObjectModel, like this: Quote Link to comment Share on other sites More sharing options...
versiona Posted September 23, 2009 Author Share Posted September 23, 2009 Thank you very much Raggi_Tor, I will begin with that. Your information could be very useful to start. Alan Pinard Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.