USD.Property

Description

A class that represents a USD Property.

Properties

baseName The base name of the property.
name The name of the property.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

USD.Property.baseName

readonly string baseName

Description

The base name of the property.

The name of the property with all namespace prefixes removed, i.e. the last component of the "name" property.

				USD.Stage stage = Model.find("USD Stage1");
				USD.Prim prim = stage.defaultPrim;
				USD.Property property = prim.getProperty("my:advanced:prop");
				if (property) {
					string baseName = property.baseName;    // baseName == "prop"
				}
			
Do no remove, this fixes the anchor on doc.flexsim.com

USD.Property.name

readonly string name

Description

The name of the property.


				USD.Stage stage = Model.find("USD Stage1");
				USD.Prim prim = stage.defaultPrim;
				USD.Property property = prim.getProperty("my:advanced:prop");
				if (property) {
					string fullName = property.name;    // fullName == "my:advanced:prop"
				}