Allows access to a model.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Interface IModel |
C# | |
---|
public interface IModel |
JScript | |
---|
public interface IModel |
Managed Extensions for C++ | |
---|
public __gc __interface IModel |
C++/CLI | |
---|
public interface class 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
Access Diagram
See Also