This past Saturday a new Fusion update went out. There is some API functionality in that update that enables a lot more types of programs. These new capabilities are attributes and base features.
The ability to associate data with any entity is now supported through attributes. Every object that supports attributes now has an ‘attributes’ property that returns an Attributes object. You can read more about this and why you might want to use it in the User Manual topic for attributes.
There is also now support to create base features and to create entities within a base feature. For example, you can use the new Sketches.addToBaseOrFormFeature method to create a new sketch in an existing base feature, or the MeshBody.add method now supports an argument to let you specify a base feature to create the mesh body within. Base features provide a way to create direct-modeling geometry within a parametric model. It’s like an “island” of direct modeling. This is useful in a few cases where certain types of creation are only supported in direct modeling mode but instead of converting the entire design and losing all of the modeling intelligence, you can create a base feature and create the direct modeling geometry within the base feature.
One more thing that’s not new API functionality is that the User Manual topic for Commands has been re-written and better describes the full capability of creating custom commands. I know that the documentation for creating custom commands wasn’t the best and people were struggling with commands. Hopefully this will help a lot of you.

Leave a Reply