Query commands

<< Click to Display Table of Contents >>

Navigation:  Simplygon Maya >

Query commands

The "SimplygonQuery" is a utility command. The command can be used to query information such as SDK version, information about materials etc.

 

-ver, -Version

Gets Simplygon SDK version.

 

-gpm, -GetProcessedMeshes

Gets the list of names of the processed meshes (not necessarily in order).

 

-gmm, -GetMaterialForMesh [name of mesh]

Gets the name of the material names. An empty string means no material.

 

-gm, -GetMaterials

Gets the complete list of material names that went through the material pipeline.

 

-gcm, -GetChannelsForMaterial [name of material]

Gets the list of material channels (Diffuse, Normals etc.) for the specific material.

 

-gtc, -GetTexturePathForChannel [name of material] [name of channel]

Gets the texture path connected to the specified channel.

 

-mrm, -MeshReusesMaterial [name of mesh]

Gets the name of the reused material. An empty name means no reuse.