GRAPHISOFT®

Python APIVersion: 0.23 Beta

ChangeInfoString

Changes the info string (ID) of an element.

def ChangeInfoString (elemGuid, infoString) -> String

 

Parameters

elemGuid
[in] GUID of an element.
infoString
[in] New info string.

 

Return Values

This function returns the GUID of the modified element.

 

Remarks

 

Example

itemNumber = 1

for elemGuid in GetSelectedElements ():
    infoString = 'NEW ID {}'.format (itemNumber)
    ChangeInfoString (elemGuid, infoString)
    itemNumber += 1

 

Requirements

Version: Python API 0.1 or Later
Module: GS

 

See Also

GetSelectedElements, GetElementList, GetElementType

All functions