Assembly: VMAppCore.dll This class is to represent the 3D document.
Inheritance
object ← ObservableObject ← LinkableBase ← LinkContainer ← Container ← Document ← HandledDocument ← Document3DImplements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IEnableManager, IRelatedDocument, IHistorySupport, ITemplateDocument, IDocument3D, IHandledDocument, IDocument, IObject, IEventProvider, IContainer, ILinkContainer, IOwned, IHasID, IDocumentOwner, ITreatValidObjectInherited Members
HandledDocument.AddToSelectionList(ObjectBase), HandledDocument.CancelSelection(bool, bool), HandledDocument.ExitCommandMode(), HandledDocument.CancelSelectedFaceset(bool), HandledDocument.SetHandle(UIntPtr), HandledDocument.OnDeserialization(object), HandledDocument.FromHandle(UIntPtr), HandledDocument.PostOpenDocument(), HandledDocument.Dispose(bool), HandledDocument.DoNotCheckHandleWhenCreate, HandledDocument.Handle, Document.g_OpenDocuments, Document.m_unit, Document.m_unitKernal, Document.raise_OnChildAdded(object, DocumentEventArgs), Document.raise_OnChildRemoved(object, DocumentEventArgs), Document.raise_OnChildRenamed(object, DocumentEventArgs), Document.raise_OnChildUpdated(object, DocumentEventArgs), Document.raise_OnChildUpdatedEnable(object, DocumentEventArgs), Document.raise_OnChildUpdatedAll(object, DocumentEventArgs), Document.raise_OnChildDocNameUpdated(object, DocumentEventArgs), Document.raise_OnDependentDocumentAdded(object, DependentDocEventArgs), Document.raise_OnDependentDocumentRemoved(object, DependentDocEventArgs), Document.raise_OnClearSelectNavigator(object, DocumentEventArgs), Document.raise_OnChildRootSelect(object, DocumentEventArgs), Document.raise_OnChangeIconForNodalModal(object, DocumentEventArgs), Document.raise_OnDoingImport(object, DocumentEventArgs), Document.raise_OnSkipChildAdded(object, DocumentEventArgs), Document.raise_OnSimulationCaseUpdated(object, EventArgs), Document.raise_OnSubentityRefreshed(object, EventArgs), Document.raise_OnSubentityAdded(object, DocumentEventArgs), Document.raise_OnChildMultiAdded(object, DocumentEventArgs), Document.raise_OnSingleObjectSelected(object, ObjectBaseEventArgs), Document.raise_Destroying(object, EventArgs), Document.raise_ChildAdded(object, Identifier), Document.raise_ChildRemoved(object, Identifier), Document.raise_ChildReplacing(object, Identifier), Document.raise_ChildReplaced(object, Identifier), Document.raise_SelectionChanged(object, IEnumerable<Identifier>), Document.Initialize(Document.OpenDoc, Document.BrowseFile, Document.IsOpenDoc, Document.GetDocFromOpenedDoc, Document.ActiveDocChange, Document.ActiveViewChange), Document.Open(string, bool, bool), Document.Open(string, bool), Document.Open(string), Document.Open(string, string, bool), Document.Open(string, string), Document.TryOpen(string, LoadSerializeContext, bool), Document.TryOpen(string, string, bool), Document.TryOpen(string, string), Document.GetDocumentFromOpenedDocument(string), Document.IsOpen(string), Document.ActiveChangedDoc(), Document.ActiveChangedView(), Document.Save(string), Document.PostSave(List<Document>, bool), Document.CreateView(UIntPtr), Document.CloseView(View), Document.Add(ObjectBase), Document.UpdateEnable(ObjectBase, bool), Document.UpdateInterface(ObjectBase, bool), Document.IsTypeSupported(Type), Document.AddToSelectionList(ObjectBase), Document.CancelSelection(bool, bool), Document.ExitCommandMode(), Document.PostOpenDocument(), Document.PostOpenDocumentAfterHookEvent(), Document.PostOpenDocumentAfterErrCheckEvent(), Document.PostOpenDocumentAfterRestoreObjectID(), Document.PostOpenDocumentAfterSetFilePath(), Document.PostCloseDocument(), Document.LinkRequestDestroy(object, LinkEventArgs), Document.PostOpenDocumentAndInitLayer(), Document.DisplayModeShape(int, double), Document.EnableModeShape(bool), Document.GetData(XmlNode), Document.SetData(XmlNode), Document.OperationBegin(), Document.OperationEnd(), Document.GetCopyOfUnit(), Document.GetCopyOfKernelUnit(), Document.FastToConvertUnitLength(bool), Document.ContainsNameAttribute(string), Document.ReplacesNameAttribute(string, string), Document.GetUniqueNameAttribute(string), Document.UpdateItemInNavigaterForUndoRedo(IObjectBase), Document.AddItemToNavigaterForUndoRedo(ObjectBase), Document.RemoveItemFromNavigaterForUndoRedo(ObjectBase), Document.RenameItemFromNavigaterForUndoRedo(ObjectBase), Document.UpdateAllItemInNavigaterForUndoRedo(), Document.UpdateSimulationConfigurationForUndoRedo(), Document.AddItemToSubEntityForUndoRedo(ObjectBase), Document.AddReferenceForUndoRedo(ObjectBase), Document.RefreshReferenceForUndoRedo(ObjectBase), Document.AddToIDMap(IObject), Document.FindObjectFromID(Identifier), Document.FindObjectFromKey(UIntPtr), Document.RemoveFromIDMap(IObject), Document.WriteIDInformation(), Document.GetNextIdentifier(), Document.GetChildren(), Document.Close(), Document.SetUnit(Unit), Document.SetKernelUnit(string), Document.IsEnabledImpl(ObjectBase), Document.SetEnableImpl(ObjectBase, bool), Document.OnDeserialization(object), Document.OnPostMakeDocument(DocCreateInfo), Document.RegisterAddon(), Document.OnContainerDestroy(object, LinkEventArgs), Document.ClearDocument(), Document.Dispose(bool), Document.KeepOldKernelUnit, Document.ClearChildInfoBeforeDeserialize, Document.ExpressionParser, Document.IsHideEntityListWindow, Document.IsHideFilterWindow, Document.SelectedLayoutAlgorithmType, Document.FilterdTypes, Document.CloseAllDialogWhenCloseDoc, Document.DoingOpen, Document.DoingClose, Document.Attributes, Document.AutoSaved, Document.IsChildExternable, Document.IsExternable, Document.IsReplaced, Document.FilePath, Document.DocumentName, Document.InitialConvertFactor, Document.DocumentSessionOverride, Document.CanClose, Document.Modified, Document.SelectionChanged, Document.ChildReplaced, Document.ChildReplacing, Document.ChildRemoved, Document.ChildAdded, Document.Destroying, Document.OnSingleObjectSelected, Document.OnChildMultiAdded, Document.OnSubentityAdded, Document.OnSubentityRefreshed, Document.OnSimulationCaseUpdated, Document.OnSkipChildAdded, Document.OnDoingImport, Document.OnChangeIconForNodalModal, Document.OnChildRootSelect, Document.OnClearSelectNavigator, Document.OnDependentDocumentRemoved, Document.OnDependentDocumentAdded, Document.OnChildDocNameUpdated, Document.OnChildUpdatedAll, Document.OnChildUpdatedEnable, Document.OnChildUpdated, Document.OnChildRenamed, Document.OnChildRemoved, Document.OnChildAdded, Container.Find(string), Container.FindLocal(string), Container.GetUnnamedObjectName(object), Container.GetNewEntityName(string, bool, int, int), Container.GetNewEntityName(string, bool, int), Container.GetNewEntityName(string), LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChangedExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
Document3D(UIntPtr)
Initializes a new instance of the Document3D classParameters
pDoc UIntPtr
Fields
RibbonGalleryIndex
The ribbon gallery indexField Value
Document3D.GetRibbonGalleryIndexg_dRenderingType
Field Value
enRenderTypem_bReload
Field Value
boolm_dicCategory
Field Value
Dictionary<string, LinkedList<Child<ObjectBase, LinkContainer.Update>>>m_dicCategoryCollection
The category container.Field Value
Dictionary<string, LinkLinkedList<ObjectBase, Child<ObjectBase, LinkContainer.Update>>>m_lstAssem
The assembly container.Field Value
LinkListCollection<Assembly, Link<Assembly, LinkContainer.None, LinkContainer.Update, LinkContainer.None>>m_strVersion
Field Value
stringProperties
AssembledBodyList
Gets or sets the assembled body list.Property Value
ObjectBase[]CanClose
Gets a value indicating that whether document can close.Property Value
boolCategories
Gets the categorys.Property Value
ICollection<string>CategoryInfo
Property Value
CategoryInfoChangeReference
Gets a value indicating that whether reference is changed.Property Value
boolCommentOfDocument
Sets/Gets a comment of document. It has a character of seperator. The Character is ’;’.Property Value
stringCountOfSelectionObject
Get count of selected object.Property Value
intCountOfUnderCursorObject
Get count of Under-Cursor object.Property Value
intCountOfUnderCursorPickableObject
Get count of Under-Cursor pickable object.Property Value
intCurrentBasicOp
Gets the type of current basic operation.Property Value
Document3D.BasicOpTypeCustomDesignParameterList
Gets or sets the custom design parameter list.Property Value
ObjectBase[]CustomPerformanceIndexList
Gets or sets the custom performance index list.Property Value
ObjectBase[]DoingCreateEntityOperation
Gets a value indicating that whether [create entity operation] is executing.Property Value
boolDoingTemplateBasedXml
Gets a value indicating that whether [Load TemplateBasedXml] is doing.Property Value
boolExtensionName
Gets or sets the name of extension.Property Value
stringFormat
Gets or sets the type of fileformat.Property Value
Document3D.FileFormatFromTemplate
Gets a value indicating whether [from template].Property Value
boolIconSize
Gets or sets the icon size.Property Value
doubleInitialCategories
Gets the initialize categories.Property Value
List<string>IsAdvancedMode
Gets or sets a value indicating whether this instance is advanced mode.Property Value
boolIsPropertySupport
Gets a value indicating whether this instance is property support.Property Value
boolLayerManager
Gets the layer manager.Property Value
LayerManagerLoadingExceptions
Gets the exceptions that occurred when loading.Property Value
List<Exception>MessageWhenLoad
Gets or sets message when document load.Property Value
stringModified
Gets or sets the document’s modify state.Property Value
boolNodalBodyList
Gets the nodal body list.Property Value
ObjectBase[]NodalOutputCandidateObjects
Get nodal output candidate.Property Value
List<INodalOutputCandidate>SelectionObjects
Get selected object container.Property Value
List<ObjectBase>SkipUIUpdating
Gets or sets the document’s skip ui updating state.Property Value
boolSymmetricPlane
Gets or sets the symmetric plane.Property Value
PlaneTemplatePath
Gets or sets the template path.Property Value
stringToolKitName
Gets or sets the name of toolkit.Property Value
stringUnderCursorObjects
Get selected object container.Property Value
List<ObjectBase>UnderCursorPickableObjects
Get pickable object container.Property Value
List<ObjectBase>UseMultipleAddition
Gets or sets the multiple addition use flag.Property Value
boolUseSymmetric
Gets or sets a value indicating whether use symmetric option.Property Value
boolVersionInfo
Gets a version of document.Property Value
stringVisibleTarget
Gets or sets the visible target.Property Value
ObjectBase[]this[string]
Property Value
ICollection<ObjectBase>Methods
Activate()
Activate document.ActivateDocument()
Activate document.ActiveCurveset(UIntPtr, bool)
Activate curveset.Parameters
curveset_key UIntPtr
The edge key.
bActive bool
if set to true active.
ActiveFaceset(UIntPtr, bool)
Activate faceset.Parameters
faceset_key UIntPtr
The facet key.
bActive bool
if set to true active.
ActiveObject(List<ObjectBase>)
Parameters
lstObject List<ObjectBase>
Add(ObjectBase, ObjectBase)
Add object to document.Parameters
objAdd ObjectBase
The object.
objExistAfter ObjectBase
The object that exist added object after.
Add(ObjectBase)
Add object to document.Parameters
obj ObjectBase
The object.
AddAssembly(Assembly)
Add assembly to assembly container.Parameters
assem Assembly
The assembly.
AddInterface(string)
Add interface.Parameters
strXml string
The interface information.
AddNewReference(ObjectBase[], string)
Add object for new reference.Parameters
arObj ObjectBase[]
The object array.
strCategory string
The category name.
AddNewReference(ObjectBase)
Add object for new reference.Parameters
ob ObjectBase
The object.
AfterDelete()
BeforeDelete(ObjectBase)
Parameters
A_0 ObjectBase
BeforePostDeserialized()
ChangeKernelUnitWithScale(string)
change kernel unit.Parameters
strLength string
The length unit.
ChangeTopologyForVMPID()
CheckBeforeSave()
CheckMassPropForCADImport()
Check mass property for CAD Import.Returns
string The error message.ChildAdd(ObjectBase, string)
Call OnChildAdded.Parameters
obj ObjectBase
The object.
strXml string
The information.
ChildRemove(ObjectBase, string)
Call OnChildRemove.Parameters
obj ObjectBase
The object.
strXml string
The information.
ChildRename(ObjectBase, string)
Call OnChildRename.Parameters
obj ObjectBase
The object.
strXml string
The information.
ChildUpdate(ObjectBase, string)
Call OnChildUpdate.Parameters
obj ObjectBase
The object.
strXml string
The information.
ClearAssembly()
Clear assembly.ClearDocument()
Clears the document.ContainsEntityToEntityDictionary(ObjectBase)
Determines whether contains [entity to entity dictionary].Parameters
obj ObjectBase
The object.
Returns
boolCreateAssembly()
Create assembly.Returns
AssemblyCreateAssemblyImpl()
Creates the assembly [implementation].Returns
Assembly The assemblyCreateCanvas(bool)
Create canvas.Parameters
bThreadSafeCanvas bool
if set to true thread safely canvas.
Returns
Canvas The canvas.CreateCanvas()
Create canvas.Returns
Canvas The canvas.CreateView(UIntPtr)
Create view.Parameters
hWnd UIntPtr
The view handle.
Returns
ViewCreateViewCore(UIntPtr)
Create view [Core].Parameters
pView UIntPtr
The view handle.
Returns
ViewDecreaseReferedDocumentCount()
DeleteCore(List<ObjectBase>, List<DestroyEventArgs>)
Parameters
lstObjNew List<ObjectBase>
lstArg List<DestroyEventArgs>
DeleteObjectBases(ref DestroyType, IEnumerable<ObjectBase>, bool)
Parameters
typeDestroy DestroyType
targetObjectBases IEnumerable<ObjectBase>
bNotUseDelMsg bool
Returns
boolDeleteObjectBases(ref DestroyType, IEnumerable<ObjectBase>)
Parameters
typeDestroy DestroyType
targetObjectBases IEnumerable<ObjectBase>
Returns
boolDeleteWithSelectionObjects(ref DestroyType, bool)
Delete with Selection Objects.Parameters
typeDestroy DestroyType
The destroy type.
bNotUseDelMsg bool
Not use delete message
Returns
boolDeleteWithSelectionObjects(ref DestroyType)
Delete with Selection Objects.Parameters
typeDestroy DestroyType
The destroy type.
Returns
boolDeleteWithSelectionObjects()
Delete with Selection Objects.Returns
boolDisplayModeShape(int, double)
Display mode shape with scale factor.Parameters
A_0 int
A_1 double
Dispose(bool)
Parameters
A_0 bool
EnableModeShape(bool)
Disable the mode shape displaying.Parameters
A_0 bool
EraseAllDisplayObject()
ExistUnderCursor()
Whether object exists under cursor.Returns
booltrue if object exists under cursor; otherwise, false.
ExportCADBody(string, List<ExportBodyInfo>, string, string, string, string, string)
Parameters
strFilePath string
lstBodyInfo List<Document3D.ExportBodyInfo>
strPythonExecutablePath string
strStrideConvertPath string
strHoopsExchangePath string
strKernelDepsPaths string
strOption string
ExportCADBody(string, List<ExportBodyInfo>, string)
Parameters
strFilePath string
lstBodyInfo List<Document3D.ExportBodyInfo>
strAcisVer string
ExportCADFile(string, string, string, string, string, string)
Export cad file.Parameters
strFilePath string
The cad import file path.
strPythonExecutablePath string
The path of python.exe.
strStrideConvertPath string
The path of StrideConvert.exe.
strHoopsExchangePath string
The path of Hoops Exchange.
strKernelDepsPaths string
The kernel dependencies paths.
strOption string
The option.
~Document3D()
Releases unmanaged resources and performs other cleanup operations before the Document3D is reclaimed by garbage collection.FindBodyFromCADBody(ObjectBase)
Finds the body from CAD body.Parameters
obj ObjectBase
The CAD body.
Returns
ObjectBase The body such as solid body, assembled body.FindCategory(string)
Finds the category.Parameters
strType string
The fullname of type.
Returns
string The category nameFindCurveset(UIntPtr, bool)
Find curveset.Parameters
edge_key UIntPtr
The edge key.
bQuickSearch bool
if set to true quick search.
Returns
UIntPtr The edge handle.FindFaceset(UIntPtr, bool)
Find faceset.Parameters
face_key UIntPtr
The facet key.
bQuickSearch bool
if set to true quick search.
Returns
UIntPtr The facet handle.FindLocal(string)
Find DAFUL object from the container by name.Parameters
strName string
The DAFUL object name.
Returns
IObjectBase The DAFUL object.FindObjectForSelection(ObjectBase, OperationTypeForSelection)
Finds the object for show property.Parameters
obj ObjectBase
The obj.
enType Document3D.OperationTypeForSelection
The Operation Type for Selection
Returns
ObjectBaseGetAllArgumentList()
Returns
List<KeyValuePair<string, string>>GetAssembly()
Get assembly container.Returns
Assembly[]GetBodies(ref List<ObjectBase>)
Parameters
lstBody List<ObjectBase>
GetBodyAndTransformation(ref List<ExportBodyInfo>)
Parameters
A_0 List<Document3D.ExportBodyInfo>
GetCADBodyNameAttribute(ref List<string>)
Parameters
lstName List<string>
GetCategoryChildren(string)
Gets the object category container from category name.Parameters
categoryName string
Returns
IEnumerable<IObjectBase> The object category container.GetCuttingPlane()
Returns
boolGetData(XmlNode)
Gets the analysis document information data.Parameters
writer XmlNode
The writer.
GetImportCADBody()
Gets the Import CAD Body.Returns
List<ObjectBase>GetInfoFromDocumentPropertyGrid(XmlDocument, XmlDocument)
Gets the information from document property grid.Parameters
xmlTarget XmlDocument
The target xml.
xmlTool XmlDocument
The tool xml.
GetNearestUnderCursorObject()
Get the nearest Under-Cursor object.Returns
ObjectBase The nearest Under-Cursor object.GetObjectsForChangeAssembly()
Returns
List<ObjectBase>GetOwnedDocuments(LinkedList<IDocument>)
Gets the owned documents.Parameters
lstOwnedDoc LinkedList<IDocument>
GetReferDocument(ref List<Document3D>)
Parameters
lstDocument List<Document3D>
GetReferedDocumentCount()
Returns
intGetReference(ObjectBase, ref List<Reference>, ref List<ObjectBase>)
Parameters
obSub ObjectBase
lstRef List<Reference>
lstOther List<ObjectBase>
GetReplaceableInfo(BuilderImport[])
Gets the replaceable information.Parameters
arBuilder BuilderImport[]
The builder object array.
Returns
List<Body.ReplaceCADInfo> The list of replaceable information.GetUnnamedObjectName(object)
Get an unnamed object name.Parameters
obUnnamed object
The unnamed object.
Returns
string The unnamed object name.HideObjectInReading()
Hide object in reading template.ImportCADBody(BuilderImport[])
Imports the CAD body.Parameters
arOb BuilderImport[]
The build object array.
IncreaseReferedDocumentCount()
InitCategory()
Initialize category.InitializeKernelUnit()
Initialize kernel unit.IsContainsCategoryName(string)
Determines whether is [contains category name] [the specified category name].Parameters
strCategoryName string
Name of the category.
Returns
booltrue if is [contains category name] [the specified category name]; otherwise, false.
IsCuttingPlaneSelected()
Returns
boolIsMatchSelectObjectAndUnderCursorObject()
check match of select object and under cursor object.Returns
boolIsSelectFromUnderCursor(ulong)
Determines whether selected object.Parameters
keyObject ulong
The object.
Returns
booltrue if already selected; otherwise, false.
IsTypeSupported(Type)
Determines whether is [supported type] [the specified type].Parameters
type Type
The type.
LinkRequestUpdate(object, LinkEventArgs)
The update event occured from the linked object.Parameters
obNotifier object
arg LinkEventArgs
The update event information.
Load(XmlReader)
Load document [Not Implemented].Parameters
A_0 XmlReader
LoadCADFile(string, CadImportColorType, Color, CadImportResultType, CadImportUnitType, string, string, string, string)
Load cad import file.Parameters
strPath string
The cad import file path.
color_type Document3D.CadImportColorType
color Color
The cad import color.
type Document3D.CadImportResultType
The cad import result type.
typeUnit Document3D.CadImportUnitType
The cad import unit type.
strPythonExecutablePath string
The path of python.exe.
strStrideConvertPath string
The path of StrideConvert.exe.
strHoopsExchangePath string
The path of Hoops Exchange.
strKernelDepsPaths string
The kernel dependencies paths separated by ’;’.
LoadCADFile(string, CadImportResultType, string, string, string, string)
Load cad import file.Parameters
strPath string
The cad import file path.
type Document3D.CadImportResultType
The cad import result type.
strPythonExecutablePath string
The path of python.exe.
strStrideConvertPath string
The path of StrideConvert.exe.
strHoopsExchangePath string
The path of Hoops Exchange.
strKernelDepsPaths string
The kernel dependencies paths separated by ’;’.
LoadCategoryFiles(string)
Loads the category files.Parameters
strCategoryDir string
The category directory.
LoadCategoryInfoFromFile(string, Dictionary<string, string>, List<string>)
Parameters
strCategoryName string
dicTypeCategory Dictionary<string, string>
lstCategory List<string>
LoadTemplateBasedXml(XmlReader)
Loads the XML for template based document.Parameters
A_0 XmlReader
MakeXmlForDocumentPropertyGrid(XmlDocument, ref string)
Makes the XML for document property grid.Parameters
xmlDom XmlDocument
The XML DOM.
strGroupName string
Name of the string group.
Returns
stringMappingEntity()
OnDeserialization(object)
Called when [deserialization].Parameters
sender object
The sender.
OnPostMakeDocument(DocCreateInfo)
Called when [post make document] [implementation].Parameters
A_0 DocCreateInfo
OpenPropertyObjectBases(List<ObjectBase>)
Parameters
targetObjectBases List<ObjectBase>
Returns
boolOpenPropertyWithFirstSelectionObject()
Open property dialog with Selection Objects.Returns
boolOpenPropertyWithSelectionObjects()
Open property dialog with Selection Objects.Returns
boolPostCloseDocument()
Call when post [close document].PostOpenDocument()
Call when post [open document].PostOpenDocumentAndInitLayer()
Call [Open Document] for initialize layer.PostSave(List<Document>, bool)
Parameters
lstOpenDocs List<Document>
bModified bool
PreloadCADFile(string, CadImportColorType, Color, CadImportResultType, CadImportUnitType, string, string, string, string, ref BuilderImport[])
Preload cad import file.Parameters
strPath string
The cad import file path.
color_type Document3D.CadImportColorType
color Color
The cad import color.
type Document3D.CadImportResultType
The cad import result type.
typeUnit Document3D.CadImportUnitType
The cad import unit type.
strPythonExecutablePath string
The path of python.exe.
strStrideConvertPath string
The path of StrideConvert.exe.
strHoopsExchangePath string
The path of Hoops Exchange.
strKernelDepsPaths string
The kernel dependencies paths separated by ’;’.
arBuilderInfo BuilderImport[]
The output builder information.
ReAssemblyCore()
ReassemblyReturns
booltrue if success; otherwise, false.
ReAssemblyImpl(ObjectBase)
Reassembly [implementation].Parameters
ob ObjectBase
The object.
Returns
booltrue if success; otherwise, false.
ReInitInterfaceForAssembly()
Reinitialize interface for assembly.ReadCategoryXml(string, string, XmlReader)
Read objects in specialized category from xml reader.Parameters
strCategoryName string
The category name.
strElementName string
The element name.
reader XmlReader
The reader.
RedrawCuttingPlane()
RefreshAllViews()
Refresh all views.RegisterCurveset(UIntPtr, UIntPtr, bool)
Register curveset.Parameters
curveset_key UIntPtr
The curveset key.
edge_key UIntPtr
The edge key.
bAdd bool
if set to true add.
RegisterFaceset(UIntPtr, UIntPtr, bool)
Register faceset.Parameters
faceset_key UIntPtr
The facet key.
face_key UIntPtr
The face key.
bAdd bool
if set to true add.
RegisterLoadingException(Exception)
Registers the exception.Parameters
exception Exception
The exception.
RemoveAssembly(Assembly)
Remove assembly.Parameters
assem Assembly
The assembly.
RemoveEntityForReplace(ObjectBase)
Remove entity for replace.Parameters
obj ObjectBase
The object.
RemoveInterface(string)
Remove interface.Parameters
strXml string
The interface information.
RenameEntityImpl(string, ObjectBase)
Rename entity [Implementation].Parameters
strOldName string
The old name.
namedObj ObjectBase
The new object.
RenameInterface(string)
Rename interface.Parameters
strXml string
The interface information.
Repair()
RepairImpl()
Repair a document.ReplaceCADBody(BuilderImport[])
Replaces the CAD body.Parameters
arBuilder BuilderImport[]
The builder object array.
ResetFacesetSurfaceType()
RunPredefinedOperation()
Run pre-defined operation.Save(XmlWriter)
Save document [Not Implemented].Parameters
A_0 XmlWriter
Save(string)
Save document.Parameters
strPath string
The path to save.
Save(string, bool, Dictionary<string, string>)
Parameters
strPath string
bAutoSave bool
mapSubPath Dictionary<string, string>
Save(string, bool, bool)
save document.Parameters
strPath string
The path.
bAutoSave bool
The auto save state.
bUseBackUpFile bool
The backup flag.
Save(string, bool)
save document with autosave.Parameters
strPath string
The path.
bAutoSave bool
The auto save state.
SaveDocument(string, Dictionary<string, string>)
Parameters
strPath string
mapSubPath Dictionary<string, string>
SaveTemplateBasedXml(XmlWriter)
Saves the XML for template based document.Parameters
A_0 XmlWriter
SetData(XmlNode)
Sets the analysis document information data.Parameters
reader XmlNode
The reader.
SetHandle(UIntPtr)
Set document handle.Parameters
pDocHandle UIntPtr
The document handle.
SetPickFromUnderCursor(ulong)
Set picked object.Parameters
keyObject ulong
The object will be picked.
SetRenderingMode(enRenderingMode)
Parameters
mode Document3D.enRenderingMode
SetSelectFromUnderCursor(ulong)
Set selected object.Parameters
keyObject ulong
The object will be selected.
SetSelectFromUnderCursor(ObjectBase)
Set selected object.Parameters
objUnderCursor ObjectBase
The object will be selected.
SetSelectionObject(List<ObjectBase>)
Parameters
lstObj List<ObjectBase>
SetUnselectFromUnderCursor(ulong)
Set unselected object.Parameters
keyObject ulong
The object will be unselected.
ShowHideObjectBases(bool, List<ObjectBase>)
Parameters
bShow bool
lstSel List<ObjectBase>
Returns
boolShowHideWithSelectionObjects(bool)
show hide with Selection Objects.Parameters
bShow bool
Returns
boolSkipAddToDSDLWithCategory(string)
Parameters
strCategory string
Returns
boolSkipAddToDSDLWithEntity(ObjectBase)
Parameters
ob ObjectBase
Returns
boolSkipDelete(ObjectBase)
Skips the delete.Parameters
obj ObjectBase
The obj.
Returns
boolSkipObjectInWriting(ObjectBase)
Skip object in writing template.Parameters
obj ObjectBase
The object.
Returns
boolSkipShowHide(ObjectBase)
Skips the show hide.Parameters
obj ObjectBase
The obj.
Returns
boolStartBasicOp(BasicOpType)
Start basic operation.Parameters
type Document3D.BasicOpType
The type of basic operation.
ToggleCuttingPlane(OMatrix)
Parameters
matOri OMatrix
ToggleCuttingPlane()
UpdateEnable(ObjectBase, bool)
Update object to enable or disable.Parameters
obj ObjectBase
The object.
bEnabled bool
Whether object is enable.
UpdateInterface(ObjectBase, bool)
Update interface.Parameters
obj ObjectBase
The object.
bInterfaced bool
Whether object is interfaced.
VerifyAllEntity()
verify all entity.Returns
boolWriteCategoryToXml(string, string, XmlWriter)
Write objects in specialized category to xml writer.Parameters
strCategoryName string
The category name.
strElementName string
The element name.
writer XmlWriter
The writer.
WriteMessageForShowHide()
Writes the message for show hide.XmlDocumentReLoad(XmlReader)
Reload documnet.Parameters
reader XmlReader
The reader.