36 void setPlacementRelativeTo(std::shared_ptr<Element> other);
37 void setPlacementRelativeTo(std::shared_ptr<Element> other,
bool keepGlobalPosition);
38 std::shared_ptr<Element> getPlacementRelativeTo()
const;
43 bool setLayer(
int layernumber);
49 void addOpeningElement(std::shared_ptr<OpeningElement> aOpening);
50 void removeOpeningElement(std::shared_ptr<OpeningElement> aOpening);
51 void removeOpeningElements();
52 std::vector<std::shared_ptr<OpeningElement>> getOpeningElements()
const;
57 void addParamCutHardElement(std::shared_ptr<Element> aElement);
58 void addParamCutSoftElement(std::shared_ptr<Element> aElement);
59 void removeParamCutHardElement(std::shared_ptr<Element> aElement);
60 void removeParamCutSoftElement(std::shared_ptr<Element> aElement);
61 std::vector<std::shared_ptr<Element>> getParamCutHardElements(
bool includeAggregatedElements =
false)
const;
62 std::vector<std::shared_ptr<Element>> getParamCutSoftElements()
const;
63 bool isParamCutHardElement()
const;
64 bool isParamCutSoftElement()
const;
69 void addSubElement(std::shared_ptr<SubElement> aSubElement);
70 std::vector<std::shared_ptr<SubElement>> getSubElements()
const;
71 void removeSubElement(std::shared_ptr<SubElement> aSubElement);
72 void removeSubElements();
77 std::shared_ptr<OpeningElement> getFilledOpeningElement()
const;
82 void setAssociatedMaterial(std::shared_ptr<MaterialDefinition> aMaterialDefinition);
84 void removeAssociatedMaterial();
85 std::shared_ptr<MaterialSelect> getAssociatedMaterial()
const;
90 bool isTemporary()
const;
91 void setTemporary(
bool on);
92 std::shared_ptr<Group> getGroup()
const;
93 std::shared_ptr<Element> copy()
const;
98 std::string getCadworkGroup()
const;
99 void setBoundingBoxEnabled(
bool enabled);
104 std::shared_ptr<OpenLxApp::Geometry> getAxisRepresentation()
const;
105 bool setAxisRepresentation(std::shared_ptr<OpenLxApp::Geometry> aGeometry)
const;
107 std::shared_ptr<OpenLxApp::Geometry> getSolidModelRepresentation()
const;
108 bool setSolidModelRepresentation(std::shared_ptr<OpenLxApp::Geometry> aGeometry)
const;
110 void showAxisRepresentation()
const;
111 void showSolidModelRepresentation()
const;
118 void _copySubElems(App::Element* fromElem, std::shared_ptr<Element> toElem)
const;
The Product is an abstract representation of any object that relates to a geometric or spatial contex...
Definition: Product.h:37
An element is a generalization of all components that make up an AEC product. Those elements can be l...
Definition: Element.h:29
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:23
Definition: ActiveScript.h:7
Definition: ShapeAttributes.h:23
Definition: CdwkAttributeData.h:7
#define FORWARD_DECL(x, y)
Definition: Globals.h:93