Message 1 of 10
LASTANGLE for custom objects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
We have a custom object that is similar to a polyline and, while in its construction command (and also when the command is finished), we need to update the LASTPOINT and the LASTANGLE system variables.
No problem with the LASPOINT variable, but the LASTANGLE variable is read-only. (Why ?)
An example for this need is to launch a transparent command while in the object construction command to calculate the next point with the last one and the orientation of the last segment.
Any suggestion ?
(Other than to draw a new line with 'acedCommandS' API function to force the update of the variable, and deleting the line after that.)
Thanks.
Thierry