05-04-2023
07:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-04-2023
07:38 AM
I've been trying to get this piece of code to work:
oDef = ThisDoc.Document.ComponentDefinition Dim oWPlane As WorkPlane Dim oAxis As WorkAxes oAxis = oDef.WorkAxes oWPlane = oDef.WorkPlanes.AddByLinePlaneAndAngle(oDef.WorkPlanes("XY Plane"), oAxis("Y Axis"), 45) oWPlane.Name = "Plane_Name"
I found it on these forums but it doesn't seem to work in 2023 Inventor. Does anyone know what needs to be adjusted to make it function now?
Solved! Go to Solution.