fackie76
Guest
Good morning to all, I tried to search in the forum similar topics but I couldn't find what I look for. I press that I am not a neophyte of autocad, but I have always been osticated the vba or the lisp, actually more for laziness than for other.... .
goal to achieve:
extract data from cad blocks that within them acquire some data from drawing entities.
example:
drawing one/tenth/hundred entity line/polyline/circle then I would later insert a block that asks me to select the date entity and then asks me to complete other data such as material, height, while the length recovers it from the entity. (such as the necessary data for a metric compute or the separation of armored irons. . . )
current solution
I first created a polylinea, then I created a series of attributes some of which recover info from the previously designed polylinea type length and layer and a whole set of other parameters that I then insert by hand, eventually I created the block.
workflow
to extract the data I in the current state I am forced to insert this group of 2 entities/lock elements and copy it so many times as are the elements to "measure" then manually I have to arm myself with patience and move and change the individual polylines copied on my entities.
problem
not being the only one who has to do this job, it could happen that some of my collaborators cancel the polylinea by mistake and redesign new but at that point the block would lose the reference, in the same way if one inserts ex-novo the block that is without reference.
I hope to have explained quite well
Andrea
goal to achieve:
extract data from cad blocks that within them acquire some data from drawing entities.
example:
drawing one/tenth/hundred entity line/polyline/circle then I would later insert a block that asks me to select the date entity and then asks me to complete other data such as material, height, while the length recovers it from the entity. (such as the necessary data for a metric compute or the separation of armored irons. . . )
current solution
I first created a polylinea, then I created a series of attributes some of which recover info from the previously designed polylinea type length and layer and a whole set of other parameters that I then insert by hand, eventually I created the block.
workflow
to extract the data I in the current state I am forced to insert this group of 2 entities/lock elements and copy it so many times as are the elements to "measure" then manually I have to arm myself with patience and move and change the individual polylines copied on my entities.
problem
not being the only one who has to do this job, it could happen that some of my collaborators cancel the polylinea by mistake and redesign new but at that point the block would lose the reference, in the same way if one inserts ex-novo the block that is without reference.
I hope to have explained quite well
Andrea