Hi,
I'm trying to orient a part (child) upon creation. Can somebody point me in the right direction 🙂
For exemple: I'd like to rotate this part 90deg about Z axis.
Child PentaLeftBack As :PentaFrame
pentaPostLength = BoxHeight
wallThickness = wallThickness
ignorePosition? = False
origin = Point(0, 0, BoxHeight/2)
xDirection = ?
yDirection = ?
End Child
Regards,
Luc
You can either use something like this:
xDirection = vector(0,1,0)
yDirection = vector(-1,0,0)
Or you can use the 'constraint' designs. It's easiest to create the constraints manually in Inventor, and then right-click on them in in the Inventor Model Browser, and adopt them into your design (as opposed to attempting to write the relevant Child rules from scratch). If you go this route, you'll also want to use the Entity Naming Editor to get "good" names for the faces and edges.