1
<?xml version="1.0" encoding="UTF-8"?>
2
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
5
Name="SelectionObjectPy"
7
TwinPointer="SelectionObject"
8
Include="Gui/SelectionObject.h"
11
FatherInclude="Base/BaseClassPy.h"
12
FatherNamespace="Base">
14
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
15
<UserDocu>This class represents selections made by the user. It holds information about the object, document and sub-element of the selection.</UserDocu>
17
<Methode Name="remove">
19
<UserDocu>Remove this selection item from the selection.
22
This object becomes invalid.
26
<Methode Name="isObjectTypeOf">
28
<UserDocu>Test for a certain father class.
29
isObjectTypeOf(type) -> Bool
33
<Attribute Name="ObjectName" ReadOnly="true">
35
<UserDocu>Name of the selected object</UserDocu>
37
<Parameter Name="ObjectName" Type="String" />
39
<Attribute Name="SubElementNames" ReadOnly="true">
41
<UserDocu>Name of the selected sub-element if any</UserDocu>
43
<Parameter Name="SubElementNames" Type="Tuple" />
45
<Attribute Name="FullName" ReadOnly="true">
47
<UserDocu>Name of the selected object</UserDocu>
49
<Parameter Name="FullName" Type="String" />
51
<Attribute Name="TypeName" ReadOnly="true">
53
<UserDocu>Type name of the selected object</UserDocu>
55
<Parameter Name="TypeName" Type="String" />
57
<Attribute Name="DocumentName" ReadOnly="true">
59
<UserDocu>Name of the document of the selected object</UserDocu>
61
<Parameter Name="DocumentName" Type="String" />
63
<Attribute Name="Document" ReadOnly="true">
65
<UserDocu>Document of the selected object</UserDocu>
67
<Parameter Name="Document" Type="Object" />
69
<Attribute Name="Object" ReadOnly="true">
71
<UserDocu>Selected object</UserDocu>
73
<Parameter Name="Object" Type="Object" />
75
<Attribute Name="SubObjects" ReadOnly="true">
77
<UserDocu>Selected sub-element, if any</UserDocu>
79
<Parameter Name="SubObjects" Type="Tuple" />
81
<Attribute Name="PickedPoints" ReadOnly="true">
83
<UserDocu>Picked points for selection</UserDocu>
85
<Parameter Name="PickedPoints" Type="Tuple" />
87
<Attribute Name="HasSubObjects" ReadOnly="true">
89
<UserDocu>Selected sub-element, if any</UserDocu>
91
<Parameter Name="HasSubObjects" Type="Boolean" />