View Full Version : Object was erased
avinash patil
2012-09-13, 08:09 AM
Hi,
I have a little problem in my code. can anyone here where I am wrong.
Thanks,
87047
Avinash Patil
avinash patil
2012-09-14, 09:25 AM
Further to add my problem at the point is
Set DimObj = acadDoc.ModelSpace.AddDimRotated(txPnt, DimPntE, LocateDim, East)
I have confirm all above points and angle is ok. this is in a loop.
(iNdx = 0 Then) it wokrs. it make dimension
(If iNdx > 0 Then) it makes no. of dimensions.
(If iNdx = iCnt - 1 Then) and problem is here.
can you give me where I am wrong?
Thanks in Advance,
Avinash Patil
Ed Jobe
2012-09-14, 02:36 PM
You'll have to show your code. We can't see what got erased or when.
avinash patil
2012-09-17, 08:52 AM
Yes, I got it the solution. one of the dimension point is declared as variant instead of double. I convert it and it works.
Thanks,
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.