mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
create_shape - include more types in the docs
This commit is contained in:
@@ -331,6 +331,8 @@ def create_shape(
|
||||
:return:
|
||||
- `inst` is IfcProduct and `repr` provided / None -> ShapeElementType
|
||||
- `inst` is IfcRepresentation and `repr` is None -> ShapeType
|
||||
- `inst` is IfcRepresentationItem and `repr` is None -> ShapeType
|
||||
- `inst` is IfcProfileDef and `repr` is None -> ShapeType
|
||||
- `inst` is IfcPlacement / IfcObjectPlacement -> Transformation
|
||||
- `inst` is IfcTypeProduct and `repr` is None -> None
|
||||
- `inst` is IfcTypeProduct and `repr` is provided -> RuntimeError
|
||||
|
||||
Reference in New Issue
Block a user