TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: xinxirong on November 09, 2016, 09:38:52 PM

Title: how can i get the dimension subentities matrix
Post by: xinxirong on November 09, 2016, 09:38:52 PM
1.Create a dimension
2.make BLOCK with the dimension,transform with rotate ,move ,non-uniform scale
3.change the dim style
4.if you explode the INSERT,the dim will change.so i find way to get the subentities of the dim and transform it to Model space
i have found that the dim is similar to anonymous block which name "*D".
and my method is nentsel to get the matrix M1.
and i can get the INSERT matrix M2 with refgeom.
so the dim matrix M3=(inverse M2)*M1.
that is my way.
now,i want to get the  dim matrix M3 without nentsel/nentselp,how can i do?

the ranslates matrix is dimension's dxf 12