Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class AttributeFacetRefinementBase

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMAppCore.dll

This class is to represent the attribute for facet refinement.

public class AttributeFacetRefinementBase : AttributeBase, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainerAttributeBaseAttributeFacetRefinementBase

Derived

AttributeMeshFreeGeometryOutputProperty

Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inherited Members

AttributeBase.OnDeserializationAttribute(), AttributeBase.LinkRequestUpdate(object, LinkEventArgs), 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.PropertyChanged

Extension Methods

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

Constructors

AttributeFacetRefinementBase(Variable, Variable, Variable, Variable, bool, bool, bool, bool, bool, bool)

Initializes a new instance of the class.

public AttributeFacetRefinementBase(Variable varMaxGridLine, Variable varMaxFacetSize, Variable varAngularTolerance, Variable varFacetAspectRatio, bool bUseMaximumGridLine, bool bUseMaximumFacetSize, bool bUseSurfaceAngularTolerance, bool bUseFacetAspectRatio, bool bDoNotUseGRID_TO_EDGES, bool bDoNotUseApprox_eval)

Parameters

varMaxGridLine Variable

The number of the maximum grid line.

varMaxFacetSize Variable

Size of the maximum facet.

varAngularTolerance Variable

The angular tolerance.

varFacetAspectRatio Variable

The facet aspect ratio.

bUseMaximumGridLine bool

if set to true [use maximum grid line].

bUseMaximumFacetSize bool

if set to true [use maximum facet size].

bUseSurfaceAngularTolerance bool

if set to true [use surface angular tolerance].

bUseFacetAspectRatio bool

if set to true [use facet aspect ratio].

bDoNotUseGRID_TO_EDGES bool

if set to true [unuse GRID_TO_EDGE.

bDoNotUseApprox_eval bool

if set to true [unuse approximated evaluation].

AttributeFacetRefinementBase(Variable, Variable, Variable, bool, bool, bool, bool, bool)

Initializes a new instance of the class.

public AttributeFacetRefinementBase(Variable varMaxFacetSize, Variable varAngularTolerance, Variable varFacetAspectRatio, bool bUseMaximumFacetSize, bool bUseSurfaceAngularTolerance, bool bUseFacetAspectRatio, bool bDoNotUseGRID_TO_EDGES, bool bDoNotUseApprox_eval)

Parameters

varMaxFacetSize Variable

Size of the maximum facet.

varAngularTolerance Variable

The angular tolerance.

varFacetAspectRatio Variable

The facet aspect ratio.

bUseMaximumFacetSize bool

if set to true [use maximum facet size].

bUseSurfaceAngularTolerance bool

if set to true [use surface angular tolerance].

bUseFacetAspectRatio bool

if set to true [use facet aspect ratio].

bDoNotUseGRID_TO_EDGES bool

if set to true [unuse GRID_TO_EDGE.

bDoNotUseApprox_eval bool

if set to true [unuse approximated evaluation].

AttributeFacetRefinementBase()

Initializes a new instance of the class.

public AttributeFacetRefinementBase()

Fields

m_bDoNotUseApprox_eval

Use approx evaluation.

protected bool m_bDoNotUseApprox_eval

Field Value

bool

m_bDoNotUseGRID_TO_EDGES

Use grid to edge.

protected bool m_bDoNotUseGRID_TO_EDGES

Field Value

bool

m_bUseDefaultValues

Use default values.

protected bool m_bUseDefaultValues

Field Value

bool

m_bUseFaceOption

Use face option.

protected bool m_bUseFaceOption

Field Value

bool

m_bUseFacetAspectRatio

Use facet aspect ratio.

protected bool m_bUseFacetAspectRatio

Field Value

bool

m_bUseMaximumFacetSize

Use maximum facet size.

protected bool m_bUseMaximumFacetSize

Field Value

bool

m_bUseMaximumGridLine

Use maximum grid line.

protected bool m_bUseMaximumGridLine

Field Value

bool

m_bUseMinimumUGridLine

Use minimum u grid line.

protected bool m_bUseMinimumUGridLine

Field Value

bool

m_bUseMinimumVGridLine

Use minimum v grid line.

protected bool m_bUseMinimumVGridLine

Field Value

bool

m_bUseRepairPatch

Use repair patch.

protected bool m_bUseRepairPatch

Field Value

bool

m_bUseSurfaceAngularTolerance

Use surface angular tolerance.

protected bool m_bUseSurfaceAngularTolerance

Field Value

bool

m_bUseSurfaceTolerance

Use surface tolerance.

protected bool m_bUseSurfaceTolerance

Field Value

bool

m_childAngularTolerance

angular tolerance.

protected Child<variable linkcontainer.update> m_childAngularTolerance

Field Value

ChildVariable, LinkContainer.Update&gt;

m_childFacetAspectRatio

facet aspect ratio.

protected Child<variable linkcontainer.update> m_childFacetAspectRatio

Field Value

ChildVariable, LinkContainer.Update&gt;

m_childMaxFacetSize

max facet size.

protected Child<variable linkcontainer.update> m_childMaxFacetSize

Field Value

ChildVariable, LinkContainer.Update&gt;

m_childMaxGridLine

max grid line.

protected Child<variable linkcontainer.update> m_childMaxGridLine

Field Value

ChildVariable, LinkContainer.Update&gt;

m_childMinUGridLine

minimum u grid line.

protected Child<variable linkcontainer.update> m_childMinUGridLine

Field Value

ChildVariable, LinkContainer.Update&gt;

m_childMinVGridLine

minimum v grid line.

protected Child<variable linkcontainer.update> m_childMinVGridLine

Field Value

ChildVariable, LinkContainer.Update&gt;

m_childSurfaceTolerance

surface tolerence.

protected Child<variable linkcontainer.update> m_childSurfaceTolerance

Field Value

ChildVariable, LinkContainer.Update&gt;

Properties

DrawGlobalBody

Gets or sets a value indicating whether draw global body.

public virtual bool DrawGlobalBody { get; }

Property Value

bool

FacetAspectRatio

Gets or sets the facet aspect ratio.

public ExpressionValueVariable FacetAspectRatio { get; set; }

Property Value

ExpressionValueVariable

MaximumFacetSize

Gets or sets the maximum size of the facet.

public ExpressionValueVariable MaximumFacetSize { get; set; }

Property Value

ExpressionValueVariable

MaximumGridLine

Gets or sets the maximum grid line.

public ExpressionValueVariable MaximumGridLine { get; set; }

Property Value

ExpressionValueVariable

MinimumUGridLine

Gets or sets the minimum U grid line.

public ExpressionValueVariable MinimumUGridLine { get; set; }

Property Value

ExpressionValueVariable

MinimumVGridLine

Gets or sets the minimum V grid line.

public ExpressionValueVariable MinimumVGridLine { get; set; }

Property Value

ExpressionValueVariable

SurfaceAngularTolerance

Gets or sets the surface angular tolerance.

public ExpressionValueVariable SurfaceAngularTolerance { get; set; }

Property Value

ExpressionValueVariable

SurfaceTolerance

Gets or sets the surface tolerance.

public ExpressionValueVariable SurfaceTolerance { get; set; }

Property Value

ExpressionValueVariable

UseApprox_eval

Gets or sets a value indicating whether use [approximated evaluation].

public bool UseApprox_eval { get; set; }

Property Value

bool

UseDefaultValues

Gets or sets a value indicating whether use [default values].

public bool UseDefaultValues { get; set; }

Property Value

bool

UseFaceOption

Gets or sets a value indicating whether use [face option].

public bool UseFaceOption { get; set; }

Property Value

bool

UseFacetAspectRatio

Gets or sets a value indicating whether use [facet aspect ratio].

public bool UseFacetAspectRatio { get; set; }

Property Value

bool

UseGRID_TO_EDGES

Gets or sets a value indicating whether use [GRID_TO_EDGE].

public bool UseGRID_TO_EDGES { get; set; }

Property Value

bool

UseMaximumFacetSize

Gets or sets a value indicating whether use [maximum facet size].

public bool UseMaximumFacetSize { get; set; }

Property Value

bool

UseMaximumGridLine

Gets or sets a value indicating whether use [maximum grid line].

public bool UseMaximumGridLine { get; set; }

Property Value

bool

UseMinimumUGridLine

Gets or sets a value indicating whether use [minimum U grid line].

public bool UseMinimumUGridLine { get; set; }

Property Value

bool

UseMinimumVGridLine

Gets or sets a value indicating whether use [minimum V grid line].

public bool UseMinimumVGridLine { get; set; }

Property Value

bool

UseRepairPatch

Gets or sets a value indicating whether use [repair patch].

public bool UseRepairPatch { get; set; }

Property Value

bool

UseSurfaceAngularTolerance

Gets or sets a value indicating whether use [surface angular tolerance].

public bool UseSurfaceAngularTolerance { get; set; }

Property Value

bool

UseSurfaceTolerance

Gets or sets a value indicating whether use [surface tolerance].

public bool UseSurfaceTolerance { get; set; }

Property Value

bool

Methods

Copy(AttributeFacetRefinementBase, ref AttributeFacetRefinementBase)

Copy attribute.

public static void Copy(AttributeFacetRefinementBase attrOld, ref AttributeFacetRefinementBase attrNew)

Parameters

attrOld AttributeFacetRefinementBase

The old attribute.

attrNew AttributeFacetRefinementBase

The new attribute.

Copy()

public AttributeFacetRefinementBase Copy()

Returns

AttributeFacetRefinementBase

GetFacetOption()

public FacetOption GetFacetOption()

Returns

FacetOption

GetXml(AttributeFacetRefinementBase)

Get xml information of this instance.

public static string GetXml(AttributeFacetRefinementBase attr)

Parameters

attr AttributeFacetRefinementBase

The old attribute.

Returns

string

GetXml()

public string GetXml()

Returns

string

Initialize()

Initializes this instance.

public virtual void Initialize()

LinkRequestUpdate(object, LinkEventArgs)

The update event occured from the linked object.

protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The update event information.

OnDeserialization(object)

Called when [deserialization].

protected override void OnDeserialization(object sender)

Parameters

sender object

The sender.

SetDefaultValue(ObjectBase)

Set default values.

public virtual void SetDefaultValue(ObjectBase objContainer)

Parameters

objContainer ObjectBase

The container.

Connect with Ansys