AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

void MgGeometricPropertyDefinition::SetSpatialContextAssociation ( CREFSTRING  spatialContextName  ) 

Sets a Spatial Context association for this geometric property.

Remarks:
If not set, this name defaults to the Spatial Context name active in the datastore.
.NET Syntax
void SetSpatialContextAssociation(string spatialContextName);
Java Syntax
void SetSpatialContextAssociation(String spatialContextName);
PHP Syntax
void SetSpatialContextAssociation(string spatialContextName);

Parameters:
spatialContextName (String/string) The Spatial Context name to be set.
Returns:
Returns nothing.