![]() |
【转帖】problem in saving dimension in a z-x plane
problem in saving dimension in a z-x plane
problem in saving dimension in a z-x plane the code is like this ....................... ------------------------- pdimension->setdimensionstyle(dimstyleid); pdimension->setxline1point(10, 10, 20); pdimension->setxline2point(20, 40, 20); pdimension->setdimlinepoint(20, 40, 20); pdimension->usedefaulttextposition(); --------------------------------------- each point set above is having z-coordinate = 20 but in saved dwg file z-cordinate of xline1 and xline2 is coming out to be zero(0). (i.e. dimension is in x-y plane) can anyone assist me in solving the problem? thanks & regards! if you need a dimension in plane parallel to xy but with non-zero z use setelevation() method. for dimension in plane other than parallel to xy you also need to use setnormal(). sergey slezkin thanks sergey its working properly now. |
所有的时间均为北京时间。 现在的时间是 06:55 PM. |