PPT_LOGO_4b
‹#›
从.NET API角度看
Navisworks Model.png
Four main classes.

Application
•Provides access to the main document. Note that MainDocument and ActiveDocument refer to same object.
•Also has properties for the GUI, and provides access to the plugins.
•Has events to tell you when the active document is changing.
•Provides events for progress, and when the GUI is being created or destroyed.

Document
•Has methods for loading, appending, and saving and publishing files.
•Contains all document-related data, including models, current selection, and viewpoints.
•Has events for when the active view is changing.

Model
•Represents a loaded file.
•Has properties to access data such as source filename, vectors (e.g. Up, north), and root model item.

ModelItem
•Represents a single item in a model, such as a group node or a geometry node.
•Can be seen in the selection tree in Navisworks.
•Has properties for accessing geometry, attributes and children (if a group node)