Texture Editor Attributes
 
 
 

Texture Editor Attributes

Introduced

v6.0

View attributes for the Texture Editor (see View.GetAttributeValue and (View.SetAttributeValue). Not all attributes support both setting and getting. Check the third column in the table.

Note See ViewAttributes for a complete list of types of attributes that you can use when customizing your Relational Views.
Attribute Name Description Supports
selectedsamples Returns a string representation of the currently selected sampled points of the first projection in the Texture Editor.

Warning: Since the multi-UV projections, this attribute is now obsolete.

Possible Values:

Description:

<string> List of currently selected sampled points of the first projection.
View.GetAttributeValue only.
currentprojectionname Returns the name of the first projection in the Texture Editor.

Warning: Since the multi-UV projections, this attribute is now obsolete.

Possible Values:

Description:

<string> The first projection name.
View.GetAttributeValue only.
allprojectionnames Returns all active projection names.

Possible Values:

Description:

<list of elements> A comma-delimited list of active projection names.
View.GetAttributeValue only.
all3dobjectnames Returns all matching 3D object names (see allprojectionnames).

Possible Values:

Description:

<list of elements> A comma-delimited list of matching 3D object names.
View.GetAttributeValue only.
pivotu Returns the u component of the current pivot if set. If not set, returns the u component of the center of selection.

Possible Values:

Description:

<double> The U coordinate of the pivot.
View.GetAttributeValue only.
pivotv Returns the v component of the current pivot if set. If not set, returns the v component of the center of selection.

Possible Values:

Description:

<double> The V coordinate of the pivot.
View.GetAttributeValue only.
selectedsamplespoints Returns the currently selected samples (in all projections).

Possible Values:

Description:

<list of elements> A semicolon-delimited list of currently selected samples.
View.GetAttributeValue only.
selectedprojections Returns the names of the UV Props (projections) that are part of the selection.

Possible Values:

Description:

<list of elements> A semicolon-delimited list of names of the UV Props (projections) that are part of the selection.
View.GetAttributeValue only.
checkerboard Enables/Disables the checkerboard mode.

Possible Values:

Description:

'false' (Default) Disables the checkerboard mode.
'true' Enables the checkerboard mode.
View.GetAttributeValue and View.SetAttributeValue.
frameselection Frames the selected components in the Texture Editor view.

Possible Values:

Description:

<any value> This value is ignored.
View.SetAttributeValue only.
frameall Frames all the vertices in the Texture Editor view.

Possible Values:

Description:

<any value> This value is ignored.
View.SetAttributeValue only.
frameimage Frames the image in the Texture Editor view.

Possible Values:

Description:

<any value> This value is ignored.
View.SetAttributeValue only.
showselected Show the selected components in the Texture Editor view.

Possible Values:

Description:

<any value> This value is ignored.
View.SetAttributeValue only.
hideselected Hide the selected components in the Texture Editor view.

Possible Values:

Description:

<any value> This value is ignored.
View.SetAttributeValue only.
showall Show all the components in the Texture Editor view.

Possible Values:

Description:

<any value> This value is ignored.
View.SetAttributeValue only.
maxdisplayresolution Sets/Gets the maximum display resolution of the image in the Texture Editor view.

Possible Values:

Description:

'64' Set maximum display resolution to 64 x 64.
'128' Set maximum display resolution to 128 x 128.
'256' (Default) Set maximum display resolution to 256 x 256.
'512' Set maximum display resolution to 512 x 512.
'1024' Set maximum display resolution to 1024 x 1024.
'max' Set maximum display resolution to the maximum supported by the hardware.
View.GetAttributeValue and View.SetAttributeValue.
interpolateimage Enables/Disables the interpolation of the image.

Possible Values:

Description:

'false' (Default) Disables the interpolation of the image.
'true' Enables the interpolation of the image.
View.GetAttributeValue and View.SetAttributeValue.
dimimage Enables/Disables the dimming of the image.

Possible Values:

Description:

'false' (Default) Disables the dimming of the image.
'true' Enables the dimming of the image.
View.GetAttributeValue and View.SetAttributeValue.
overlaps Enables/Disables the highlighting of overlaps in the Texture Editor view.

Possible Values:

Description:

'false' (Default) Disables the highlight of overlaps.
'true' Enables the highlight of overlaps.
View.GetAttributeValue and View.SetAttributeValue.
oddoverlaps Enables/Disables the highlighting of odd overlaps in the Texture Editor view.

Possible Values:

Description:

'false' (Default) Disables the highlight of odd overlaps.
'true' Enables the highlight of odd overlaps.
View.GetAttributeValue and View.SetAttributeValue.
coverage Enables/Disables the display of the coverage in the Texture Editor view.

Possible Values:

Description:

'false' (Default) Disables the display of the coverage.
'true' Enables the display of the coverage.
View.GetAttributeValue and View.SetAttributeValue.
connectivity Enables/Disables the display of the connectivity in the Texture Editor view.

Possible Values:

Description:

'false' (Default) Disables the display of the connectivity.
'true' Enables the display of the connectivity.
View.GetAttributeValue and View.SetAttributeValue.
statusbar Enables/Disables the display of the statusbar in the Texture Editor view.

Possible Values:

Description:

'false' (Default) Disables the display of the statusbar.
'true' Enables the display of the statusbar.
View.GetAttributeValue and View.SetAttributeValue.
clip Sets/Gets the image clip in the Texture Editor view.

Possible Values:

Description:

<image clip name> The SIObject.FullName of the ImageClip.
View.GetAttributeValue and View.SetAttributeValue.
projection Sets/Gets the UV projection in the Texture Editor view. For example:
// Set the UVs to be proj1 and proj2
myView.SetAttributeValue("projection", "cylinder.polymsh.cls.Texture_Coordinates_AUTO.proj1,cylinder.polymsh.cls.Texture_Coordinates_AUTO.proj2");

Possible Values:

Description:

<list of uv projections> A comma-delimited list of UV projections. To set the UV projection to be non-editable, append ":nonedit" behind the UV projection. e.g.: "cylinder.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection:nonedit".
View.GetAttributeValue and View.SetAttributeValue.
lock Controls the lock selection state button in the toolbar.

Possible Values:

Description:

'true' Locks the selection in the Texture Editor.
'false' Unlocks the selection in the Texture Editor. This means that the Texture Editor display will change when the selection changes.
View.GetAttributeValue and View.SetAttributeValue.