Skip to main content
Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This class is to represent the CAD Operation.

Inheritance

object ← CADOperation

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

CADOperation()

Methods

BuildBody(Body)

Parameters

body Body

CheckValidationAboutBuild(Body, string)

Parameters

body Body strXml string

Returns

bool

DeleteBuilder(List<ObjectBase>, Document, bool)

Parameters

lstDeletedBuilder List<ObjectBase> doc Document bModified bool

GetBodyFaces(Body, ICollection<int>)

Parameters

bd Body Colors ICollection<int>

Returns

List<Face>

GetBodyFaces(Body)

Parameters

bd Body

Returns

List<Face>

GetBodyNameAttribute(Body)

Parameters

body Body

Returns

string

GetBoundingBox(Body, TMatrix, ref Vector, ref Vector, BoxingMode)

Parameters

body Body matT TMatrix vecMinPt Vector vecMaxPt Vector boxingMode BoxingMode

Returns

bool

GetDefaultMaxPenetration(Face, ref double)

Parameters

face Face dMaxPenetration double

Returns

bool

GetEdgeLength(Edge)

Parameters

edge Edge

Returns

double

GetFaceArea(Face)

Parameters

face Face

Returns

double

GetFacetInformationForFace(Face, FacetOption, ref VectorBase[], ref int[])

Parameters

face Face options FacetOption arPt VectorBase[] arConnectivity int[]

GetManyTopologyColor(IEnumerable<Topology>)

Parameters

topologies IEnumerable<Topology>

Returns

Dictionary<UIntPtr, Color>

GetPiecewiseCurve(List<Edge>, double, double, double, ref bool)

Parameters

lstEdges List<Edge> dTol double dLen double dAngle double bCloseLoop bool

Returns

List<VectorBase>

GetPointAndDirectionFromFacet(Face, FacetOption, VectorBase, VectorBase)

Parameters

face Face options FacetOption vecPoint VectorBase vecDirection VectorBase

Returns

bool

GetTopologyColor(Topology, ref Color)

Parameters

topol Topology color Color

Returns

bool

GetVoidCount(Body)

Parameters

body Body

Returns

int

GetVoidPoints(Body, double[], ref VectorBase[])

Parameters

body Body ardScale double[] arPoints VectorBase[]

Returns

int

ReDrawForHistory(IDrawIcon)

Parameters

itfDrawIcon IDrawIcon

RemoveDuplicatedEvent(Document)

Parameters

doc Document

SetNameAttribute(Body, string, bool, string)

Parameters

body Body strName string bUseAttribute bool strOldName string

SetSelectionObject(Document3D)

Parameters

doc Document3D