![]() |
【转帖】dimassoc 9array of main entities0
dimassoc (array of main entities?)
dimassoc (array of main entities?) hello, i am currently investigating the dimassoc object. from dxf file and dxf reference i found out, that group code 331 points to id of main geometry object. this group code is written only once per acdbosnappointref "object". but i noticed, that dwgdirect library returns array of main geometry objects for each osnap point reference: osnappointref(int)->mainentity().objectids()[] i am not bothered by the array, i only want to know if my assumption, that there is always only one object id in the array, is correct? regards, tomaz oddbosnappointref::mainentity() returns object defining an array of object ids to uniquely identify the primitive geometry. entity in nested blocks: osnappointref(int)->mainentity().objectids()[0] -> id of blockreference in ms ... osnappointref(int)->mainentity().objectids()[i-1] -> id of blockreference in block i-2 osnappointref(int)->mainentity().objectids()[i] -> id of entity in block i-1 regards, sergey vishnevetsky hi, sergey thanks a lot for this answer. it is really very helpful. regards, tomaz |
所有的时间均为北京时间。 现在的时间是 11:28 PM. |