NemAll_Python_Precast
Exposed classes and functions from NemAll_Python_Precast
Functions:
-
CreateElementplan–@brief Creates the elementplan
-
CreatePrecastElements–Create the precast elements
-
GetLayoutNameFromOffset–@brief Gets the name of the layout via catalogOffset
-
GetPagePropertiesFromCatalog–@brief Gets the pages from selected layout
-
LockPrecastUpdate–Lock the precast update
-
ProcessListGen–Create the precast elements
-
TriggerPrecastUpdate–Trigger the precast update
-
UnlockPrecastUpdate–Lock the precast update
CreateElementplan
CreateElementplan(
doc: DocumentAdapter,
catOffset: int,
pageProps: list,
elements: BaseElementAdapterList,
position: Point2D = Point2D(),
distances: Point2D = Point2D(),
destinationDrawingFile: int = 0,
)
@brief Creates the elementplan @param doc DocumentAdapter for ptrArrrayData @param catOffset Offset of layout in catalog @param elements Elements for plan @param position Position of the plan @param distances Distances between the pages and plans (x -> pages, y -> plans) @param destinationDrawingfile Drawing file, where the plan is placed
CreatePrecastElements
CreatePrecastElements(
doc: DocumentAdapter,
insertionMat: Matrix3D,
elements: BaseElementAdapterList,
modelEleList: list,
modelUuidList: list,
viewProj: ViewWorldProjection,
delete_python: bool,
)
Create the precast elements
Parameters:
-
doc(DocumentAdapter) –Document
-
insertionMat(Matrix3D) –Insertion matrix
-
elements(BaseElementAdapterList) –List of created elements
-
modelEleList(list) –List of model elements which have to be created
-
modelUuidList(list) –List with the model UUIDS in modification mode
-
viewProj(ViewWorldProjection) –View projection
-
delete_python(bool) –bool weather the python should be deleted after update
GetLayoutNameFromOffset
@brief Gets the name of the layout via catalogOffset @param catOffset Offset of layout in catalog @return Name of layout
GetPagePropertiesFromCatalog
@brief Gets the pages from selected layout @param catOffset Offset of layout in catalog @return List of pages
ProcessListGen
ProcessListGen(
doc: DocumentAdapter,
elements: BaseElementAdapterList,
listElementMap: list,
templateElementMap: list,
)
Create the precast elements
Parameters:
-
doc(DocumentAdapter) –Document
-
elements(BaseElementAdapterList) –List of elements which should be handled by ListeGenerator
TriggerPrecastUpdate
TriggerPrecastUpdate(elements: BaseElementAdapterList) -> bool
Trigger the precast update
Parameters:
-
elements(BaseElementAdapterList) –Elements to update
Returns:
-
bool–update successful: true/false)