Skip to content

pytha.create_ngo

fabian-flassig edited this page Jun 26, 2020 · 3 revisions

Creates a NGO (non-geometric object). A NGO can carry attributes and will be displayed in the parts list, but has no geometric representation in the scene.

Similar to the Attributes -> NGO Define function in the PYTHA user interface.

pytha.create_ngo(attributes) 
Parameter Type Description
attributes {...} Table of attributes with the key as the attribute ID and the value as the attribute value

Return value

Type Description
element_handle An element handle of the newly created NGO

See also:

pytha, element handles, Axes and directions, create_rectangle, create_cylinder, create_sphere

Clone this wiki locally