|
Python Script Engine
8.3
GL Studio Editor Python Script API
|
Public Types | |
| enum | AttribAvailableType_e { UNUSED_AVAILABILTY , OPTIONAL_AVAILABILTY , MANDATORY_AVAILABILTY , AVAILABLE_AVAILABILTY } |
Public Member Functions | |
| UserDefinedAttribute (str name, AttribAvailableType_e methodAvail=UNUSED_AVAILABILTY, AttribAvailableType_e objAvail=UNUSED_AVAILABILTY, AttribAvailableType_e propAvail=UNUSED_AVAILABILTY) | |
| str | GetGuid () |
| str | GetName () |
| None | SetName (str name) |
| AttribAvailableType_e | GetMethodAvailability () |
| None | SetMethodAvailability (AttribAvailableType_e avail) |
| AttribAvailableType_e | GetObjectAvailability () |
| None | SetObjectAvailability (AttribAvailableType_e avail) |
| AttribAvailableType_e | GetPropertyAvailability () |
| None | SetPropertyAvailability (AttribAvailableType_e avail) |
common editor interface variable
| UserDefinedAttribute::UserDefinedAttribute | ( | str | name, |
| AttribAvailableType_e | methodAvail = UNUSED_AVAILABILTY, |
||
| AttribAvailableType_e | objAvail = UNUSED_AVAILABILTY, |
||
| AttribAvailableType_e | propAvail = UNUSED_AVAILABILTY |
||
| ) |
Creates a User Defined Attribute with the given information set.
| name | Name of new user defined attribute |
| methodAvail | availablity of the attribute within methods |
| objAvail | availablity of the attribute within objects |
| propAvail | availablity of the attribute within properties |
| str UserDefinedAttribute::GetGuid | ( | ) |
Retrieves the attribute's guid.
| AttribAvailableType_e UserDefinedAttribute::GetMethodAvailability | ( | ) |
Retrieves the attribute's method availability.
| str UserDefinedAttribute::GetName | ( | ) |
Retrieves the attribute's name.
| AttribAvailableType_e UserDefinedAttribute::GetObjectAvailability | ( | ) |
Retrieves the attribute's object availability.
| AttribAvailableType_e UserDefinedAttribute::GetPropertyAvailability | ( | ) |
Retrieves the attribute's method availability.
| None UserDefinedAttribute::SetMethodAvailability | ( | AttribAvailableType_e | avail | ) |
Sets the attribute's method availability.
| avail | New availability of the attribute within methods |
| None UserDefinedAttribute::SetName | ( | str | name | ) |
Sets the attribute's name.
| name | New name of attribute |
| None UserDefinedAttribute::SetObjectAvailability | ( | AttribAvailableType_e | avail | ) |
Sets the attribute's method availability.
| avail | New availability of the attribute within objects |
| None UserDefinedAttribute::SetPropertyAvailability | ( | AttribAvailableType_e | avail | ) |
Sets the attribute's method availability.
| avail | New availability of the attribute within properties |