Author Topic: how can i get the dimension subentities matrix  (Read 1176 times)

0 Members and 1 Guest are viewing this topic.

xinxirong

  • Mosquito
  • Posts: 17
how can i get the dimension subentities matrix
« 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
« Last Edit: November 10, 2016, 02:21:50 AM by xinxirong »