Allows access to a model.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Public Interface IModel |
| C# | |
|---|
public interface IModel |
| JavaScript | |
|---|
Object dsModel |
| COM native C++ | |
|---|
interface IModel |
Example
This code snippet shows how to get the IModel object.
COM native C++
IDocumentPtr dsDoc (pConnection->GetActiveDocument());
if(dsDoc == NULL)
{
return;
}
IModelPtr dsModel( dsDoc->GetModel() );
if(NULL == dsModel)
{
return;
}
Example
Accessors
See Also