ThroughAllExtentDefinition Object

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

Description

A definition object that is used to define the extents of a feature to be through all.

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

create

Statically creates a new ThroughAllExtentDefinition object. This is used as input when defining the extents of a feature to be through all.

Properties

Name Description
isPositiveDirection Gets and sets if the direction is positive or negative. A value of true indicates it is in the same direction as the z direction of the profile's sketch plane.

This is only used when the extrusion is only defined in a single direction from the profile plane. If it's a two sided extrusion, this value is ignored.
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
objectType Returns a string indicating the type of the object.
parentFeature Returns the parent feature that this definition is associated with. If this definition has been created statically and is not associated with a feature this property will return null.

Accessed From

ThroughAllExtentDefinition.create

Samples

Name Description
Extrude Feature API Sample Demonstrates creating a new extrude feature.

Version

Introduced in version November 2016