GeometryAssembly
A geometry assembly.
Example
app = cf.GetApplication() project = app:NewProject() cuboid1 = project.Geometry:AddCuboid(cf.Point(0,0,0),1,1,1) cuboid2 = project.Geometry:AddCuboid(cf.Point(0,0,0),1,1,1) -- Create assemblies assembly1 = project.Geometry.Assemblies:Add({cuboid1}) assembly2 = project.Geometry.Assemblies:Add({cuboid2}) -- Move geometry into an assembly assembly2:AddGeometry(cuboid1) -- Delete an assembly and its contents assembly1:Delete() --Disassemble an assembly assembly2:Disassemble()
Property List
Collection List
- Children
- The geometry operators in the assembly. (GeometryAssemblyChildrenCollection of Geometry.)
Method List
- AddGeometry (geometry Geometry)
- Adds the geometry operator to the assembly.
- Delete ()
- Deletes the assembly and the geometry contained in it.
- Disassemble ()
- Disassembles the assembly.
- RemoveGeometry (geometry Geometry)
- Remove the geometry operator from the assembly.
Property Details
Collection Details
- Children
- The geometry operators in the assembly.
Method Details
- AddGeometry (geometry Geometry)
- Adds the geometry operator to the assembly.
- Input Parameters
- geometry(Geometry)
- The geometry to add to the assembly.
- Delete ()
- Deletes the assembly and the geometry contained in it.
- Disassemble ()
- Disassembles the assembly.
- RemoveGeometry (geometry Geometry)
- Remove the geometry operator from the assembly.
- Input Parameters
- geometry(Geometry)
- The geometry to remove from the assembly.