Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Forum
I'm trying to add a plane to my model using Ilogic.
I want to offset the plane using the "pLength" parameter.
This formula should also stay in the parameter equation of the plane.
The Code i'm trying looks like this;
oDef = ThisDoc.Document.ComponentDefinition Dim oWPlane As WorkPlane oWPlane = oDef.WorkPlanes.AddByPlaneAndOffset(oDef.WorkPlanes("YZ Plane (Front)"), Parameter("-pLength")/2) oWPlane.Name = "YZ Plane (Mid)" oWPlane = oDef.WorkPlanes.AddByPlaneAndOffset(oDef.WorkPlanes("YZ Plane (Front)"), Parameter("-pLength")) oWPlane.Name = "YZ Plane (Back)"
So Right now the formula pLength gets the wrong result.
But even if it was the correct result the equation just shows the result and not the formula.
Parameter in the end should look like this:
Let me know if i wasn't clear.
Best regards
Justin
Solved! Go to Solution.