Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to pull the top of a Centermark line to the top of a drawing view. My code neither works nor crashes. Does anyone have any suggestions?
Dim oCM As Centermark = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingCentermarkFilter, "Pick Centermark")
Dim oDV As DrawingView = oCM.Parent.DrawingViews(1)
Dim Coords(1) As Double
Coords(0) = oCM.Position.X
Coords(1) = oDV.Top
'Doesn't do anything or throw an error
oCM.ExtensionPointTwo.PutPointData(Coords)
Solved! Go to Solution.