add Python functionality for ProjectionGroups

This commit is contained in:
WandererFan
2016-01-29 16:06:47 -05:00
committed by wmayer
parent 707ef236f3
commit 42eed349ac
12 changed files with 255 additions and 6 deletions

View 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>