NemAll_Python_Precast
Exposed classes and functions from NemAll_Python_Precast
CreateElementplan
CreateElementplan(
doc: DocumentAdapter,
catOffset: int,
pageProps: list,
elements: BaseElementAdapterList,
)
@brief Creates the elementplan @param doc DocumentAdapter for ptrArrrayData @param catOffset Offset of layout in catalog @param elements Elements for plan
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
GetPagePropertiesFromCatalog
@brief Gets the pages from selected layout @param catOffset Offset of layout in catalog @return List of pages
TriggerPrecastUpdate
TriggerPrecastUpdate(elements: BaseElementAdapterList) -> bool
Trigger the precast update
Parameters:
-
elements
(BaseElementAdapterList
) –Elements to update
Returns:
-
bool
–update successful: true/false)
Placeholder