WorkingModel.designType Property

Parent Object: WorkingModel

Derived from: Design.designType


Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/WorkingModel.h>

Description

Gets and sets the current design type (DirectDesignType or ParametricDesignType) Changing an existing design from ParametricDesignType to DirectDesignType will result in the timeline and all design history being removed and further operations will not be captured in the timeline.

The design type is not the same as the design intent, which indicates whether the design is a part, an assembly, or a hybrid of the two. Use the Design.designIntent property to get or set the design intent.

Syntax

"workingModel_var" is a variable referencing a WorkingModel object.
# Get the value of the property.
propertyValue = workingModel_var.designType

# Set the value of the property.
workingModel_var.designType = propertyValue
"workingModel_var" Is a variable referencing a WorkingModel Object.
#include <Fusion/Fusion/WorkingModel.h>

// Get the value of the property.
DesignTypes propertyValue = workingModel_var->designType();

// Set the value of the property, where value_var is a DesignTypes.
bool returnValue = workingModel_var->designType(value_var);
"workingModel_var" Is a variable referencing a WorkingModel Object.
// Get the value of the property.
propertyValue = workingModel_var.designType;

// Set the value of the property.
workingModel_var.designType = propertyValue;

Property Value

This is a read/write property whose value is a DesignTypes.

Version

Introduced in version January 2024