Message 1 of 3
ConstructionPlaneInput usage example

Not applicable
03-07-2016
11:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
class ConstructionPlaneInput(Base): """A ConstructionPlaneInput is a throwaway object used to create a ConstructionPlane
The usage pattern is:
a. create a ConstructionPlaneInput (ConstructionPlanes.CreateInput)
b. call one of the member functions to specify how the ConstructionPlane is created
c. create the ConstructionPlane (call ConstructionPlanes.Add)
d. stop referencing the ConstructionPlaneInput (so it gets deleted)."""
I found this in the fusion.py, i tryed than following
consPlaneInput = adsk.fusion.ConstructionPlanes.createInput consPlaneInput.setByOffset(xyPlane,adsk.core.ValueInput.createByReal(10))
which fails telling me consPlaneInput has no member setByOffset, but that method is defined in funsion.py line 5790
any idea what could be going on .