add Python functionality for ProjectionGroups
This commit is contained in:
33
src/Mod/TechDraw/App/DrawProjGroupPy.xml
Normal file
33
src/Mod/TechDraw/App/DrawProjGroupPy.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
||||
<PythonExport
|
||||
Father="DrawViewCollectionPy"
|
||||
Name="DrawProjGroupPy"
|
||||
Twin="DrawProjGroup"
|
||||
TwinPointer="DrawProjGroup"
|
||||
Include="Mod/TechDraw/App/DrawProjGroup.h"
|
||||
Namespace="TechDraw"
|
||||
FatherInclude="Mod/TechDraw/App/DrawViewCollectionPy.h"
|
||||
FatherNamespace="TechDraw">
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="WandererFan" EMail="wandererfan@gmail.com" />
|
||||
<UserDocu>Feature for creating and manipulating Technical Drawing Projection Groups</UserDocu>
|
||||
</Documentation>
|
||||
<Methode Name="addProjection">
|
||||
<Documentation>
|
||||
<UserDocu>addProjection(string projectionType) - Add a new Projection Item to this Group. Returns DocObj.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="removeProjection">
|
||||
<Documentation>
|
||||
<UserDocu>removeProjection(string projectionType) - Remove specified Projection Item from this Group. Returns int number of views in Group.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getItemByLabel">
|
||||
<Documentation>
|
||||
<UserDocu>getItemByLabel(string projectionType) - return specified Projection Item</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<CustomAttributes />
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
Reference in New Issue
Block a user