Typo in API implementation: Features.pipeFeatues Property

Typo in API implementation: Features.pipeFeatues Property

michael
Contributor Contributor
502 Views
2 Replies
Message 1 of 3

Typo in API implementation: Features.pipeFeatues Property

michael
Contributor
Contributor

 

Probably meant to be "pipeFeatures"

 

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-0C0A2753-B8C5-4FCE-8EE7-82F118D4D9AC

 

Although fixing this will break my script code 😛

 

 

0 Likes
503 Views
2 Replies
Replies (2)
Message 2 of 3

michael
Contributor
Contributor

Ack, also there is no Add method to create a new pipe feature, and no CreateInput feature to use with Add either.

 

I found another message recommending to do it with a sweep instead, so I'm good, but it would be nice to have a direct method that corresponds to the UI.

 

For those interested: https://forums.autodesk.com/t5/api-and-scripts/python-script-pipe-creation/m-p/6614016#M2239

 

Cheers,

 

M

0 Likes
Message 3 of 3

ekinsb
Alumni
Alumni

Thank you for pointing this out.  This is the first time anyone noticed and it is a fairly obvious mistake.  The collection object itself is correctly named "PipeFeatures" it's just this property that returns the collection that is incorrectly named.  We need to discuss how we'll fix this.

 

Regarding not being able to create pipe features, you're correct.  There are a few less used features that aren't fully supported by the API, the pipe feature being one of them.  You can access it as a generic feature so you can perform some general query and edit operations, like getting and setting the name of the feature, deleting it, re-positioning the timeline. etc.  However, you can't create it or do things that are feature specific.

 

 


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes