Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Struct Obj

Last update: 16.07.2025

Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll

This struct implements Obj.

public struct Obj

Extension Methods

GroupAPI.ApplyGroup(Obj, IEnumerable<Obj>), OperationAPI.ChangeEnableState(Obj, bool), OperationAPI.ChangeInterface(Obj, bool), SolidBodyAPI.ChangeSolidBodyAnalysisSetting(Obj, BodyAnalysisType), OperationAPI.ChangeVisibleState(Obj, bool), SolidBodyAPI.CreateMarker(Obj, TMatrix, string, SymmetricType), SolidBodyAPI.CreateMeshFile(Obj, string, string, bool, bool, bool, string, FacetParameters?), BodyAPI.CreateMeshFileInPart(Obj, string, bool, FacetParameters?), MaterialAPI.CreateSplineForMaterial(Obj, IEnumerable<SplineData.Point>), OperationAPI.Delete(Obj), OperationAPI.Duplicate(Obj), OperationAPI.Flip(Obj), TireAPI.Reload(Obj, string), OperationAPI.SetTransparency(Obj, ExpressionValueVariable), SolidBodyAPI.UpdateBody(Obj), OperationAPI.UpdateCADName(Obj, string), OperationAPI.UpdateName(Obj, string), OperationAPI.UpdateSymmetric(Obj, bool)

Constructors

Obj(string)

Initializes a new instance of the class.

public Obj(string name)

Parameters

name string

The name of object.

Obj(string, IContainer)

Initializes a new instance of the class.

public Obj(string name, IContainer container)

Parameters

name string

The name of the object.

container IContainer

The container of the object.

Exceptions

ArgumentNullException

Will be thrown if 'name' or 'container' arguments are empty.

Obj(UIntPtr)

Initializes a new instance of the class.

public Obj(UIntPtr key)

Parameters

key UIntPtr

The key of the object.

Obj(ConvertKey)

Initializes a new instance of the class.

public Obj(ObjectBase.ConvertKey key)

Parameters

key ObjectBase.ConvertKey

The key of the object.

Properties

NullObj

The null object.

public static Obj NullObj { get; }

Property Value

Obj

Object

The object.

public ObjectBase Object { get; }

Property Value

ObjectBase

Methods

Destroy()

Destroy object and remove from document

public void Destroy()

Operators

implicit operator Obj(UIntPtr)

public static implicit operator Obj(UIntPtr key)

Parameters

key UIntPtr

Returns

Obj

implicit operator Obj(ConvertKey)

public static implicit operator Obj(ObjectBase.ConvertKey key)

Parameters

key ObjectBase.ConvertKey

Returns

Obj

implicit operator Obj(string)

public static implicit operator Obj(string name)

Parameters

name string

Returns

Obj

Connect with Ansys