**IsStaticGeometry()**

**Syntax**

Result =IsStaticGeometry(#StaticGeometry)

Tests if the given #StaticGeometry is a valid and correctly initialized static geometry.

**Parameters**

#StaticGeometryThe static geometry to use.

**Return value**

Returns nonzero if #StaticGeometry is a valid static geometry and zero otherwise.

**Remarks**

This function is bulletproof and can be used with any value. If Result is not zero then the object is valid and initialized, otherwise it returns zero. This is a good way to check that a static geometry is ready to use.

**See Also**

CreateStaticGeometry()

**Supported OS **

All