FreeCAD Python
|
The base class of all Arch objects.
This module provides the base Arch component class, that is shared by all of the Arch BIM objects
Classes | |
class | ArchSelectionObserver |
class | ComponentTaskPanel |
class | SelectionTaskPanel |
Functions | |
def | addToComponent (compobject, addobject, mod=None) |
def | removeFromComponent (compobject, subobject) |
def ArchComponent.addToComponent | ( | compobject, | |
addobject, | |||
mod = None |
|||
) |
addToComponent(compobject,addobject,mod): adds addobject to the given component. Default is in "Additions", "Objects" or "Components", the first one that exists in the component. Mod can be set to one of those attributes ("Objects", Base", etc...) to override the default.
def ArchComponent.removeFromComponent | ( | compobject, | |
subobject | |||
) |
removeFromComponent(compobject,subobject): subtracts subobject from the given component. If the subobject is already part of the component (as addition, subtraction, etc... it is removed. Otherwise, it is added as a subtraction.