
This functionality is provided as a preview
of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the
Fusion API and Scripts forum.
Because this is a preview of future functionality, there is the possibility that it will change, which will possibly
break any existing programs that use this functionality. Because of that, you should never deliver any programs that use
any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.
| Name | Description |
| addSolverFileContent | Add a file with contents encoded as base64 to the solver's working directory. This can be used to create PRM files or other resource files that the solver needs. |
| applyDeck | Applies the deck builder cards needed for the result calculation. |
| classType | Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType(). |
| linkDependentThermalInput | Link this mechanical operation input to its weakly-coupled dependent thermal input. |
| Name | Description |
| base64PRMData | Contents of the PRM file from the print settings, encoded as a base64 string. |
| displayName | Optionally specify the display name that appears in the browser-tree to override the default. |
| generationMode | Defines the automatic generation during the creation of the operation. Can be used to force or skip the generation of the new operation. By default the newly created operation will not be generated. The default value is SkipGeneration. |
| generationType | Additive FEA operations perform simulations by default. Setting this property to MeshPreCheck instead will only generate a mesh preview, or PRM will generate a process parameter file. |
| isValid | Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
| objectType | This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object. It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
| parameters | Get all parameters for the current strategy. Parameters are initialized by user defaults. Configure operation parameters before creation for a better performance. |
| referenceTool | Optionally specify the reference tool used by the operation. The ToolLibraries allows the access to Local and Fusion tools. Setting the tool is only possible on operation strategies that support reference tools, an exception is thrown otherwise. Likewise null is returned if the operation strategy does not support reference tools. |
| strategy | Get the current strategy |
| text | Text contents of the input deck file generated by applyDeck(). |
| tool | Optionally specify the tool used by the operation. The ToolLibraries allows the access to Local and Fusion tools. Setting the tool will overwrite tool parameters in the parameters property. |
| toolPreset | Optionally specify the preset of the tool. If no preset is specified, the operation gets its default feed and speed. The Tool provides access to available presets. Use one of those presets to override the default. Setting the tool will overwrite a subset of tool parameters in the parameters property. An invalid preset will cause a failure during the creation of the operation. |