.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add a point to Xdata

1 REPLY 1
Reply
Message 1 of 2
McSwiller
328 Views, 1 Reply

Add a point to Xdata

I'm trying to include data for a point within the XData of a leader (to compare against later to see if the object it's pointing to has been moved). -BUt I'm not having any luck adding the point data as a TypedValue. - I keep getting an "Invalid cast" exception.
Would someone tell me what I'm doing wrong?

(Attached is the code)

Thanks for your time!
1 REPLY 1
Message 2 of 2
McSwiller
in reply to: McSwiller

Never mind - solved it.

-The ObjectARX lab samples gave me a hint; I was making it too hard - the value is set as a point, and stored that way (not by X, Y, Z)
Revised code attached.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost