Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class BuilderBase<T\>

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.Builder
Assembly: VMBld.dll

public abstract class BuilderBase<t> : IBuilder where T : ObjectBase, new()

Type Parameters

T

Inheritance

objectBuilderBase

Implements

IBuilder

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

BuilderBase()

protected BuilderBase()

Fields

m_bSuccess

protected bool m_bSuccess

Field Value

bool

Properties

AddToDoc

protected virtual bool AddToDoc { get; }

Property Value

bool

BuildDocument

protected Document BuildDocument { get; }

Property Value

Document

BuildObject

public virtual ObjectBase BuildObject { get; }

Property Value

ObjectBase

ErrorMessage

protected string ErrorMessage { get; set; }

Property Value

string

Parameters

public PickedResult[] Parameters { get; set; }

Property Value

PickedResult[]

SetPointKey

protected List<setpoint> SetPointKey { get; }

Property Value

List

UseChangedObject

protected virtual bool UseChangedObject { get; }

Property Value

bool

UseInterface

protected bool UseInterface { get; set; }

Property Value

bool

Methods

Build(Document)

public virtual void Build(Document docToAdd)

Parameters

docToAdd Document

Build(Document, List)

public virtual void Build(Document docToAdd, List<string> lstSetPointKeys)

Parameters

docToAdd Document

lstSetPointKeys Liststring&gt;

OnFinalBuild(string, Document)

protected virtual ObjectBase OnFinalBuild(string strObjName, Document doc)

Parameters

strObjName string

doc Document

Returns

ObjectBase

OnObjectChangeBuild(string, Document)

protected virtual ObjectBase OnObjectChangeBuild(string strObjName, Document doc)

Parameters

strObjName string

doc Document

Returns

ObjectBase

OnPostAddDoc(ObjectBase)

protected virtual void OnPostAddDoc(ObjectBase ob)

Parameters

ob ObjectBase

OnPostBuild(ObjectBase, Document)

protected virtual bool OnPostBuild(ObjectBase obCreated, Document doc)

Parameters

obCreated ObjectBase

doc Document

Returns

bool

Success()

public bool Success()

Returns

bool

Validate(IList)

public virtual bool Validate(IList<string> lstErrorMessage)

Parameters

lstErrorMessage IListstring&gt;

Returns

bool

Connect with Ansys