> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class AttributeDFGOption

Namespace: [VM.Managed.DAFUL](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL)\
Assembly: VMDFBase.dll

This class is to represent the attribute for dfg option.

```csharp theme={null}
[Obsolete]
public class AttributeDFGOption : AttributeBase, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
```

#### Inheritance

object ←
ObservableObject ←
[LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ←
LinkContainer ←
AttributeBase ←
[AttributeDFGOption](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.AttributeDFGOption.md)

#### 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)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs),
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)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### AttributeDFGOption()

Initializes a new instance of the [AttributeDFGOption](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.AttributeDFGOption.md) class.

```csharp theme={null}
public AttributeDFGOption()
```

### AttributeDFGOption(bool)

Initializes a new instance of the [AttributeDFGOption](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.AttributeDFGOption.md) class.

```csharp theme={null}
public AttributeDFGOption(bool bUseDefault)
```

#### Parameters

`bUseDefault` bool

if set to `true` \[use default parameters].

### AttributeDFGOption(Variable, Variable, Variable, Variable, bool, bool, bool, bool, bool, bool)

Initializes a new instance of the [AttributeDFGOption](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.AttributeDFGOption.md) class.

```csharp theme={null}
public AttributeDFGOption(Variable varMaxGridLine, Variable varMaxFacetSize, Variable varAngularTolerance, Variable varFacetAspectRatio, bool bUseDefault, bool bUseMaximumGridLine, bool bUseMaximumFacetSize, bool bUseSurfaceAngularTolerance, bool bUseFacetAspectRatio, bool bDoNotUseApprox_eval)
```

#### Parameters

`varMaxGridLine` Variable

The maximum grid line.

`varMaxFacetSize` Variable

Size of the maximum facet.

`varAngularTolerance` Variable

The angular tolerance.

`varFacetAspectRatio` Variable

The facet aspect ratio.

`bUseDefault` bool

if set to `true` \[use default parameters].

`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].

`bDoNotUseApprox_eval` bool

if set to `true` \[unuse approximated evaluation].

## Properties

### FacetAspectRatio

Gets or sets the facet aspect ratio.

```csharp theme={null}
public ExpressionValueVariable FacetAspectRatio { get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

### MaximumFacetSize

Gets or sets the maximum size of the facet.

```csharp theme={null}
public ExpressionValueVariable MaximumFacetSize { get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

### MaximumGridLine

Gets or sets the maximum grid line.

```csharp theme={null}
public ExpressionValueVariable MaximumGridLine { get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

### SurfaceAngularTolerance

Gets or sets the surface angular tolerance.

```csharp theme={null}
public ExpressionValueVariable SurfaceAngularTolerance { get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

### UseApprox\_eval

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

```csharp theme={null}
public bool UseApprox_eval { get; set; }
```

#### Property Value

bool

### UseDefault

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

```csharp theme={null}
public bool UseDefault { get; set; }
```

#### Property Value

bool

### UseFacetAspectRatio

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

```csharp theme={null}
public bool UseFacetAspectRatio { get; set; }
```

#### Property Value

bool

### UseMaximumFacetSize

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

```csharp theme={null}
public bool UseMaximumFacetSize { get; set; }
```

#### Property Value

bool

### UseMaximumGridLine

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

```csharp theme={null}
public bool UseMaximumGridLine { get; set; }
```

#### Property Value

bool

### UseSurfaceAngularTolerance

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

```csharp theme={null}
public bool UseSurfaceAngularTolerance { get; set; }
```

#### Property Value

bool

## Methods

### GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

```csharp theme={null}
public virtual XmlSchema GetSchema()
```

#### Returns

XmlSchema

An XmlSchema that describes the XML representation of the object that is produced by the WriteXml() method and consumed by the ReadXml() method.

### Initialize()

Initializes this instance.

```csharp theme={null}
protected void Initialize()
```

### ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp theme={null}
public virtual void ReadXml(XmlReader reader)
```

#### Parameters

`reader` XmlReader

The XmlReader stream from which the object is deserialized.

### WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp theme={null}
public virtual void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

The XmlWriter stream to which the object is serialized.
