create_virtual_geometry#

Model.create_virtual_geometry(*, name='VirtualGeometry', cad_components=None, sub_shapes=None)#

Instantiate a Virtual Geometry.

The virtual geometry can be created from a set of CAD components or from a set of SubShapes. Combining CAD Components and SubShapes is not allowed.

Parameters:
  • name (str) – Name of the Virtual Geometry.

  • cad_components (Iterable[CADComponent] | None) – CAD Components that make up the virtual geometry.

  • sub_shapes (Iterable[SubShape] | None) – SubShapes that make up the virtual geometry.

Return type:

VirtualGeometry

Added in ACP server version 24.2.

Examples using Model.create_virtual_geometry#

Advanced selection rules

Advanced selection rules

Thickness definition

Thickness definition

Solid Model

Solid Model

Imported ply

Imported ply