GRAPHISOFT®

Python APIVersion: 0.23 Beta

CreateNavigatorItem

Creates new navigator item with the given data under the given parent.

def CreateNavigatorItem (item, parentItem, itemBefore) -> String

 

Parameters

item
[in-out] An APIObject describing the data of the new navigator item. The identifier fields will be filled by this function.
parentItem
[in] An existing navigator item which will be the parent of the new item (e.g. subset in case of layout items).
itemBefore
[in] (optional) An existing navigator item to define the position of the new item.

 

Return Values

This function returns the GUID of the new navigator item.

 

Remarks

For information on how to fill the passed item APIObject, visit the documentation of API_NavigatorItem structure.

 

Example

See GenerateLayoutBookFromTXT.py example script.

 

Requirements

Version: Python API 0.1 or Later
Module: GS

 

See Also

GetNavigatorTree, GetNavigatorItem, ChangeNavigatorItem, DeleteNavigatorItems

All functions