Locate name of detail view

Locate name of detail view

Anonymous
Not applicable
388 Views
1 Reply
Message 1 of 2

Locate name of detail view

Anonymous
Not applicable

 

Is there a property or method that can control the location of the name for a detail view? For example the picture below. Detail "B" represents the api default. Detail "C" representes where I want to put the text. All the properties, aside from "Name" apparently deal with the detail view itself.

 

0 Likes
389 Views
1 Reply
Reply (1)
Message 2 of 2

Vladimir.Ananyev
Alumni
Alumni

Property DrawingView.Label() returns the reference to DrawingViewLabel object.    DrawingViewLabel.Position()  allows you to get and set the position of the drawing view label.   Try something like this:

  dim CurrentPosition2d as Point2d = MyViewLabel.Position
  CurrentPosition2d.x = <new value>
  CurrentPosition2d.y = <new value>
  MyViewLabel.Position = CurrentPosition2d

 Hope this helps.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes