I am using ETO 2014 and I am trying to place my section view line a specific distance for the edge of my part. The section line is always centered with the part and I would like the section line to be offset along the x-axis? Does anyone know how to do this? My current code is posted below. Thanks.
Rule sectionViewSketchPoints As List
Dim origin As Point
origin = Front_View.workpointLocation(Front_View.model,"Center Point")
Dim scale As Number = 1/Front_View.viewScale*.53
Dim pt1 As Point
pt1 = origin + Front_View.unitY *Front_View.height * scale
Dim pt2 As Point
pt2 = origin - Front_View.unitY * Front_View.height * scale
Return {pt1, pt2}
End Rule
Child A As :Inside_Left_Section_View
parentView = Front_View
origin = Point(localx(Front_view.origin)+7,localy(Front_view.origin),0)
viewScale = Front_View.viewScale
SketchPoints = sectionViewSketchPoints
FullDepth? =True
SectionDepth =.5
showViewLabel? = False
displayTangentEdges = True
Reverse? = False
End Child
Kenneht Adelman
Hi
Did you try to supply the position in BreakAlignmentPosition Parameter?
If the BreakAlignmentPosition is specified, then 'origin' Parameter is effectively ignored.
Guys,
Thanks for the input. I am new at ETO, could you show me an example of how you would solve this dilemma? Thanks.
This adds an offset to the right for one of the points:
pt1 = origin + Front_View.unitY *Front_View.height * scale + Vector(10,0,0)