How could I fetch the block and entity information ?
Posted by Johnson on Dec 20, 2012; 8:27am
URL: https://forum.librecad.org/How-could-I-fetch-the-block-and-entity-information-tp5707314.html
When I open a dxf file ( which contains many blocks and line entitys),
I want to know each information (color ,vector ) of objects for
1. all entities
2. all blocks
I notice that RS_Graphic -> RS_BlockList blockList might fetch the block list ?
RS_GraphicView -> RS_EntityContainer* container; // Holds a pointer to all the enties
are these the collection of all entities and all blocks ? if that, I am just confused why not there are defined in one class .
BTW, I want to change the color by programming. how to do that ?
Thanks.