Method GetAsString
GetAsString()
Retrieves the global selection status of the current scene as a string.
Declaration
public string GetAsString()
Returns
Type | Description |
---|---|
string | The selected objects identifier list of the current scene as a character string by a comma as the separator. |
Remarks
This can be used in particular to make a "photography" of the scene selection status before doing a treatment that could alter this scene selection status.
For example, a treatment that would remove some objects in the scene must first select the objects concerned. Consequently the existing scene selection status would be lost. If the scene selection status has been saved into a string, it can be restored after the treatment with the SetFromString(string) method.