I am using the following code to create a section view in a drawing:
Child SideView1 As :IvSectionView parentView = baseLayout SketchPoints = sectionViewPoints viewScale = 1/30 FullDepth? = False SectionDepth = 250 rotationAngle = 90 origin = Point(150,150,0) showViewLabel? = True viewName = "A" ViewLabelPosition = SideView1.origin + Vector(0,-75,0) End Child
The view label appears way off the drawing. Its no where near the specified point.
However, after ETO creates the view, I can edit the ViewLabelPosition line to say "ViewLabelPosition = SideView1.origin + Vector(0,-74,0)" and the view label snaps to the correct place.
Has anybody else seen this quirk and fixed it?
Solved! Go to Solution.
Solved by Chris_Rogers. Go to Solution.
Definitely some strange behavior here. I'm finding that I have to toggle the view label off/on to get it to respect the ViewLabelPosition parameter, whether it's a design rule or a dynamic rule. I'll log an issue for this and post the number back here.
As an alternative, you could create an :IvGeneralNote in the view and give it the same layer and textStyle as the viewName. You can actually still use the viewName value that you set in the sheet to place as the formattedText in the GeneralNote.
Good idea for a work around. I will give the note a try. Thanks!