Class BuilderBlockSimple
Last update: 09.03.2026Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This class is to represent the builder of simple block.
public class BuilderBlockSimple : BuilderBlock, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IHasReplaceableEntity
Inheritance
object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<ObjectEventCore> ← Builder ← BuilderTransform ← BuilderColorGeom ← BuilderHasTransformationMatrix ← BuilderBlock ← BuilderBlockSimple
Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IHasReplaceableEntity
Inherited Members
BuilderBlock.CheckValidationAboutBuild(), BuilderBlock.CreateParameter(), BuilderBlock.FillParameter(BuilderParamBase), BuilderBlock.TransformationMatrix, BuilderBlock._Transform, BuilderBlock._Depth, BuilderBlock._Height, BuilderBlock._Width, BuilderHasTransformationMatrix.FillParameter(BuilderParamBase), BuilderHasTransformationMatrix.TransformationMatrix, BuilderColorGeom.m_color, BuilderColorGeom.CheckValidationAboutBuild(), BuilderColorGeom.OnDeserialization(object), BuilderColorGeom.FillParameter(BuilderParamBase), BuilderColorGeom.Color, BuilderColorGeom.DrawingColor, BuilderTransform.SetTransform(TMatrix), BuilderTransform.IsParameterized, Builder.CheckValidationAboutBuild(), Builder.CheckCircularReference(ObjectBase), Builder.ChangeDataForCircularReference(), Builder.GetUnnamedObjectName(object), Builder.FindLocal(string), Builder.CopyFilePathWhenImportBuilder(Builder), Builder.Contains(Type), Builder.GetBodyType(), Builder.ReplaceData(string, object), Builder.GetNameAttribute(string, ref List<string>), Builder.AddUneditableAttribute(), Builder.GetParentBody(), Builder.Clone(), Builder.Initialize(Unit.ConvertFactor), Builder.OnDeserialization(object), Builder.CreateParameter(), Builder.FillParameter(BuilderParamBase), Builder.LinkRequestUpdate(object, LinkEventArgs), Builder.PostWorkWhenFailedToGetXmlString(), Builder.GetFilledParameter(), Builder.GetXmlString(), Builder.HasReplaceableEntity(IObjectBase), Builder.ReplaceEntity(IObjectBase, IObjectBase), Builder.GetFactorForLength(), Builder.CheckCircularReferenceForPoint(PointBase, ObjectBase), Builder.CheckCircularReferenceForDirection(DirectionBase, ObjectBase), Builder.CheckCircularReferenceForOrientation(OrientationBase, ObjectBase), Builder.CheckCircularReferenceForTransform(TransformBase, ObjectBase), Builder.GetUnitScale(), Builder.InitialKernelLengthUnit, Builder.IsExternable, Builder.Uneditable, Builder.TypeOfBuilder, Builder.Transparency, Object<ObjectEventCore>.GetKey(), Object<ObjectEventCore>.Initialize(Unit.ConvertFactor), Object<ObjectEventCore>.SetIconColor(Canvas), Object<ObjectEventCore>.OnDeserialization(object), Object<ObjectEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext), Object<ObjectEventCore>.RollbackEvent(), Object<ObjectEventCore>.OnDeserializedCore(object), Object<ObjectEventCore>.Key, Object<ObjectEventCore>.UntypedEventCore, Object<ObjectEventCore>.EventCore, Object<ObjectEventCore>.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList<ObjectBase>), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet<ObjectBase>), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray<T>(T[], T[]), ObjectBase.IsEqualList(List<double>, List<double>), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.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.PropertyChanged
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
BuilderBlockSimple(Variable, Variable, Variable, TransformBase)
Initializes a new instance of the
public BuilderBlockSimple(Variable Width, Variable Height, Variable Depth, TransformBase transform)
Parameters
Width Variable
The width of block(valiable).
Height Variable
The height of block(valiable).
Depth Variable
The depth of block(valiable).
transform TransformBase
The transform info. of block.
BuilderBlockSimple(double, double, double, TransformBase)
Initializes a new instance of the
public BuilderBlockSimple(double dWidth, double dHeight, double dDepth, TransformBase transform)
Parameters
dWidth double
The width of block.
dHeight double
The height of block.
dDepth double
The depth of block.
transform TransformBase
The transform info. of block.
BuilderBlockSimple(Variable, Variable, Variable)
Initializes a new instance of the
public BuilderBlockSimple(Variable Width, Variable Height, Variable Depth)
Parameters
Width Variable
The width of block(valiable).
Height Variable
The height of block(valiable).
Depth Variable
The depth of block(valiable).
BuilderBlockSimple(double, double, double)
Initializes a new instance of the
public BuilderBlockSimple(double dWidth, double dHeight, double dDepth)
Parameters
dWidth double
The width of block.
dHeight double
The height of block.
dDepth double
The depth of block.
BuilderBlockSimple()
Initializes a new instance of the
public BuilderBlockSimple()
Properties
Depth
Gets or sets the depth of block(variable).
public Variable Depth { get; set; }
Property Value
Height
Gets or sets the height of block(variable).
public Variable Height { get; set; }
Property Value
IsParameterized
Gets the parametric.
public override sealed bool IsParameterized { get; }
Property Value
bool
Transform
Gets or sets the transform info.
public TransformBase Transform { get; set; }
Property Value
Width
Gets or sets the width of block(variable).
public Variable Width { get; set; }
Property Value
_Depth
Gets the depth of block.
public override double _Depth { get; }
Property Value
double
_Height
Gets the height of block.
public override double _Height { get; }
Property Value
double
_Transform
Gets the transform info. of block.
public override TMatrix _Transform { get; }
Property Value
_Width
Gets the width of block.
public override double _Width { get; }
Property Value
double
Methods
ChangeDataForCircularReference()
Change data for circular reference.
public override void ChangeDataForCircularReference()
CheckCircularReference(ObjectBase)
Check data for circular reference.
public override void CheckCircularReference(ObjectBase objCM)
Parameters
objCM ObjectBase
The CM.
HasReplaceableEntity(IObjectBase)
Gets a value indicating whether this instance has replacable entity.
public override bool HasReplaceableEntity(IObjectBase oldObject)
Parameters
oldObject IObjectBase
The old object
Returns
bool
if this instance has replacable entity, the result is true.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
ReplaceEntity(IObjectBase, IObjectBase)
Replace Entity
public override bool ReplaceEntity(IObjectBase oldObject, IObjectBase newObject)
Parameters
oldObject IObjectBase
The old object
newObject IObjectBase
The new object
Returns
bool
if success, the result is true.
SetTransform(TMatrix)
Sets the transform info.
public override sealed void SetTransform(TMatrix matT)
Parameters
matT TMatrix
The transform info.