ToolBlock.toolBlockGeometry Property

Parent Object: ToolBlock

Derived from: Tool.toolBlockGeometry


Defined in namespace "adsk::cam" and the header file is <Cam/Tools/ToolBlock.h>

Description

Gets the 3D geometry for a tool block attached to the tool.

Syntax

"toolBlock_var" is a variable referencing a ToolBlock object.
# Get the value of the property.
propertyValue = toolBlock_var.toolBlockGeometry

# Set the value of the property.
toolBlock_var.toolBlockGeometry = propertyValue
"toolBlock_var" Is a variable referencing a ToolBlock Object.
#include <Cam/Tools/ToolBlock.h>

// Get the value of the property.
Ptr<AssemblyComponentGeometry> propertyValue = toolBlock_var->toolBlockGeometry();

// Set the value of the property, where value_var is an AssemblyComponentGeometry.
bool returnValue = toolBlock_var->toolBlockGeometry(value_var);
"toolBlock_var" Is a variable referencing a ToolBlock Object.
// Get the value of the property.
propertyValue = toolBlock_var.toolBlockGeometry;

// Set the value of the property.
toolBlock_var.toolBlockGeometry = propertyValue;

Property Value

This is a read/write property whose value is an AssemblyComponentGeometry.

Version

Introduced in version September 2026