# MDGContext

## Base Class

None.

## Constants

None.

## Static Methods

None.

## Static Attributes

Name | Type | Description
--- | --- | ---
kNormal | MDGContext | Default/normal context.

## Constructors

Signature | Parameters | Description
--- | --- | ---
MDGContext() |  | Default constructor. Returns a new MDGContext object using the default context.
MDGContext(src) | src - MDGContext | Copy constructor. Returns a new MDGContext object with the same value as src.
MDGContext(time) | time - MTime | Returns a new MDGContext object which will evaluate at the given time.

## Object Methods

Signature | Parameters | Returns | Description
--- | --- | --- | ---
getTime() |  | MTime | Returns the time at which this context is set to evaluate. If the context does not have a specific time (i.e. it's a "normal" context) then a ValueError will be raised.
isNormal() |  | bool | Returns True if the context is set to evaluate normally. Returns False if the context is set to evaluate at a specific time.

## Object Attributes

None.

## Sequence Support

None.

## Number Support

None.

## Comparison Support

None.

© 2011 Autodesk, Inc. All rights reserved.