Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SOLID POINTS

Status
Not open for further replies.

autocadvba

Programmer
Jun 16, 2003
22
PH
i have a solid object...i saved the endpoint of that solid to its XDATA....if the object was moved....the endpoint in the xdata should change too...

anybody that can do this....
thanks..
 
Hi acadvba,
Never done Xdata in VBA, but according to the book "VBA for AutoCAD 2002"from Jeffrey E. Clark, You should use the group codes 1011,1021 and 1031.
These are the world space positions.
"World space coordinates are moved, rotated, scaled, or mirrored with the Xdata's entity.
It is also stretched with the parent entity if this point lies within the selection."
Give it a try.
regards,
CadDesigner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top