Message 1 of 5
Trying to relocate nodes and text on Chamfer Note Object; text moves, nodes dont
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to automatically relocate text and leader nodes on a Chamfer Note Object when view scales and model sizes change.
I can get the text position to move, but the I can't get the leader nodes. Here's the code:
Set oDimensions = oSheet.DrawingNotes.ChamferNotes
For Each oChamferNote In oDimensions
For Each oLeaderNode In oChamferNote.Leader.AllNodes
oLeaderNode.Position.x = oLeaderNode.Position.x - 5
oLeaderNode.Position.Y = oLeaderNode.Position.Y + 5
Next
Next