12-04-2017
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-04-2017
02:36 AM
There is a method exposed to LISP called MoveMapText(SSet TextType Offset) you pass in parameters for Selection of objects, Text Type, and Offset
The Text Types are
1 = Item Number
2 = Size
4 = Elevation Text
8 = Alias Text
16 = Set Information
32 = Length Dimension
64 = Custom Report Text
The Offset is a Point3D and its an offset from the existing position which you can get with GetTextPos(ename TextType) and returns a 3Dpoint.
There is no automation for Leader positions but using ARX (maybe .net) you could get the GRIP points for the object and try and work out it any are for the leader.
For gripData, you can derive from GripOverrule.
http://adndevblog.typepad.com/autocad/2012/11/remove-insertion-grip-point-using-overrule.html
Madhukar Moogala
Senior Developer Advocate
Forge Blog | AutoCAD Dev Blog | ObjectARX Developer Guide | ObjectARX Reference Guide|Schedule A Chat