MinimumRadiusAnalysis Object

Derived from: Analysis Object
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/MinimumRadiusAnalysis.h>

Description

Represents any existing Minimum Radius Analysis that exist in the design.

Methods

Name Description
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().

deleteMe

A method that deletes this Analysis.

Properties

Name Description
attributes A property that returns the collection of attributes associated with this Analysis.
entityToken Returns a token for the Analysis object. The token can be saved and used later with the Design.findEntityByToken method to get back the same Analysis.

When using entity tokens, it's crucial to understand that the token string returned for a specific entity can be different over time. For example, you can have two different token strings obtained from the same entity at different times, and when you use findEntityByToken they will both return the same entity. Because of that, you should never compare entity tokens as a way to determine what the token represents. Instead, you need to use the findEntityByToken method to get the two entities identified by the tokens and then compare them.
inputEntities Gets and sets the entities to analyze. Valid entities are solid and surface BRepBody objects and T-Spline surface bodies.
isLightBulbOn A property that gets and sets if the display is enabled for this Analysis object. If false, this analysis will be hidden. If true and the IsLightBulbOn property of the Analyses object is True the Analysis will be visible.
isSharpEdgesShown Gets and sets whether sharp (non-tangent) edges of the analyzed bodies are highlighted in the analysis display. This is the "Sharp Edges" setting in the command dialog.
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
isVisible Gets if this Analysis is currently visible in the graphics window. The visibility is controlled by a combination of the isLightBulbOn properties of the Analyses collection object and the Analysis object. If both are true, the Analysis will be visible.
maximumToolRadius Gets and sets the maximum tool radius, which is used to define the granularity of the minimumRadius range. This is the "Maximum Tool Radius" setting in the command dialog and is specified in centimeters. The value must be greater than 0.
minimumRadius Gets and sets the minimum radius value used to highlight regions of the analyzed bodies that have a smaller radius. This is the "Minimum Radius" setting in the command dialog and is specified in centimeters. The value must be between 0 and the maximumToolRadius.
name A property that gets and sets the name of the analysis. If you use a name that is not unique, Fusion will automatically append a number to the name to make it unique.
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():
opacity Gets and sets the opacity of the analysis display as a percentage. This is the "Opacity" setting in the command dialog. Valid values are from 0 to 100.
optimalMinimumRadius Returns the optimal minimum radius, in centimeters. This is the radius of the tightest curvature found on the entities the analysis is applied to and is the value displayed in the read-only "Optimal Minimum Radius" field of the command dialog. Returns 0 if the analyzed entities have no curvature that the analysis can measure, which is the case the command dialog displays as "-".

Accessed From

MinimumRadiusAnalyses.add, MinimumRadiusAnalyses.item, MinimumRadiusAnalyses.itemByName

Version

Introduced in version January 2023