GRAPHISOFT®

Python APIVersion: 0.23 Beta

CreateMorph

Creates an Morph element.

def CreateMorph (element) -> String

 

Parameters

element
[in] An APIObject describing the Morph element to create.

 

Return Values

This function returns the GUID of the created element.

 

Remarks

This function is analogous to the ACAPI_Element_Create function of the C++ API for Morph elements. Undefined members will be set to the current defaults.

For information on how to fill the passed APIObject, visit the C++ documentation.

 

Example

See DrawChessBoard.py and DeclareOBJImport.py example scripts.

 

Requirements

Version: Python API 0.1 or Later
Module: GS

 

See Also

ChangeMorph, GetMorph

All functions