Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ViewLabelPosition Variable Not Being Respected in IvSectionView

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
james.snyder
554 Views, 3 Replies

ViewLabelPosition Variable Not Being Respected in IvSectionView

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?

Win7 x64 - 32gb ram
Dual Xeon X5670
eVGA GTX 670

FDSU 2013 SP2
ETO 6.0
3 REPLIES 3
Message 2 of 4

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.



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

Message 3 of 4
Chris_Rogers
in reply to: james.snyder

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. 

-Chris Rogers
Inventor Certified Professional
________________________________________________________
If this post helps, please click the "Thumbs up"/"Kudos"
If this post gives the solution, please click "Accept as Solution"
Message 4 of 4
james.snyder
in reply to: Chris_Rogers

Good idea for a work around. I will give the note a try. Thanks!

Win7 x64 - 32gb ram
Dual Xeon X5670
eVGA GTX 670

FDSU 2013 SP2
ETO 6.0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report