SetEquation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


CAD[SolidWorks]

  

SetEquation

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SetEquation(p, idx, eq)

Parameters

p

-

handle to a SolidWorks document

idx

-

index of an equation

eq

-

equation to set

Description

• 

The SetEquation command sets the equation index idx in the SolidWorks document to the equation specified by eq.

Examples

withCADSolidWorks:

OpenConnection:

docOpenDocumentc:/mypart.sldprt:

GetEquationListdoc

"D1@Distance1@myassem.Assembly"=40,"D1@Distance2@myassem.Assembly"=4

(1)

SetEquationdoc,0,\"D1@Distance1@myassem.Assembly\"=30

UpdateDocumentdoc:

GetEquationListdoc

"D1@Distance1@myassem.Assembly"=30,"D1@Distance2@myassem.Assembly"=4

(2)

CloseConnection:

See Also

CAD[SolidWorks]