VirtualGeometry.set(shapes)
Clears the existing CAD references and creates a new one for each given shape.Parameters
- shapes: A list of tuples. The first item is the shape object and the second the link path (root path) of the shape.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
>>> shell = db.active_model.geometry.cad_geometries['CADGeometry.1'].root_shapes['cut_surface']
>>> db.active_model.geometry.virtual_geometries['RefGeom.1'].set(shapes=[ (shell, "") ] )
or
>>> db.active_model.geometry.virtual_geometries['RefGeom.1'].set(paths=[ (None, "CADGeometry.1/cut_surface") ] )
Was this page helpful?