IModel Interface Reference

Inherited by IDrawing, and ISolid.

Inheritance diagram for IModel:

Inheritance graph
[legend]
List of all members.

Detailed Description

Represents a model loaded in Pro/ENGINEER session.

Contained by:
Contains:


Public Member Functions

HRESULT Backup ([in] BSTR in_dir)
 Saves a copy of the model to given dir, without renaming it.
HRESULT Close ()
 Physically unloads this model from the memory.
HRESULT ExportPDF ([in] BSTR in_output_file)
 Exports this model to PDF format.
HRESULT ExportProductView ([in, defaultvalue("")] BSTR in_export_dir,[in, defaultvalue("")] BSTR in_filename,[out, retval] BSTR *out_retval)
 Exports a part, assembly or drawing to a ProductView format.
HRESULT ExportVRML ([in, defaultvalue("")] BSTR in_output_path,[out, retval] BSTR *out_retval)
 Exports a solid from Pro/ENGINEER, into VRML format.
HRESULT GetPrincipalUnitSystem ([out, retval] IUnitSystem **out_retval)
 Retrieves unit system that is currently active for the model.
HRESULT GetSurfaceById ([in] int in_id,[out, retval] ISurface **out_retval)
 Retrieves the surface with given identifier.
HRESULT ModelCheckExecute ([in] VARIANT_BOOL in_show_ui,[in] enum EModelCheckMode in_mc_mode,[in] BSTR in_config_dir,[in] BSTR in_output_dir,[out] long *out_errors,[out] long *out_warnings,[out] VARIANT_BOOL *out_model_saved)
 Executes ModelCHECK on this model.
HRESULT RefreshTree ()
 Refreshes the display of the model tree.
HRESULT Save ()
 Saves model back to its original file.
HRESULT SetPrincipalUnitSystem ([in] IUnitSystem *in_unit_system,[in] enum EUnitConvertType in_unit_convert_type,[in] VARIANT_BOOL in_ignore_param_units,[in, defaultvalue(rfNoFlags)] int in_regeneration_flags)
 Sets given unit system as currently active for the model.
HRESULT SetPrincipalUnitSystemByName ([in] BSTR in_unit_system_name,[in] enum EUnitConvertType in_unit_convert_type,[in] VARIANT_BOOL in_ignore_param_units,[in, defaultvalue(rfNoFlags)] int in_regeneration_flags)
 Sets unit system identified by given name as currently active for the model.

Properties

IUnitSystems AvailableUnitSystems [get]
 Systems of units available to the model.
BSTR Dir [get]
 Directory that contains model file.
IExportPDFOptions ExportPDFOptions [get]
 Modify this object to control behavior of ExportPDF().
BSTR FullPath [get]
 Directory, file name and extension (including version).
VARIANT_BOOL IsSkeletonModel [get]
 Determine whether the this model is a skeleton model.
IModelItem ModelItem [get]
 The model item corresponding to this model.
IModels Models [get]
 Collection that aggregates this model.
BSTR Name [get, set]
 Name that identifies model within Pro/ENGINEER session.
IProE ProE [get]
 Pro/ENGINEER that loaded this model.
EModelType Type [get]
 Model type.
BSTR TypeName [get]
 Model type in human-readable form.
VARIANT_BOOL Visible [get, set]
 Visibility of the model in Pro/ENGINEER user interface.
IModelWindow Window [get]
 Window associated with this model. NULL if model is hidden.
int WindowId [get]
 Identifier of the window associated with this model. Negative value (currently -1) if model has no window associated with it.


Generated on Mon Feb 12 14:18:32 2007 for ETRAGE ACI for Pro/ENGINEER by  doxygen 1.5.1-p1