ZebraAnalysisInput Object

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

Description

Provides access to all of the settings available when creating a zebra analysis. This object is the API equivalent of the command dialog used to create a zebra analysis. Use this object to define the settings you need and then pass it into the add method to create the zebra analysis.

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

Properties

Name Description
inputEntities Gets and sets the entities to analyze. Valid entities are solid and surface BRepBody objects, T-Spline surface bodies, and mesh bodies.
isHighQuality Gets and sets whether the zebra stripes are displayed using higher quality rendering. This defaults to false.
isLocked Gets and sets whether the zebra stripes are locked in place. This defaults to false.
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
isVertical Gets and sets whether the zebra stripes are oriented vertically. If true the stripes are vertical and if false they are horizontal. This defaults to true.
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 zebra stripes as an integer in the range of 0 to 100, where 100 is fully opaque. This defaults to 100.
repeats Gets and sets the number of zebra stripes displayed. This is the "Repeats" value in the command dialog and is an integer in the range of 1 to 100. This defaults to 20.

Accessed From

ZebraAnalyses.createInput

Version

Introduced in version September 2026