CAD[SolidWorks][SetEquation] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : CAD Package : SolidWorks : CAD/SolidWorks/SetEquation

CAD[SolidWorks][SetEquation]

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

withCAD[SolidWorks]:

OpenConnection:

doc:=OpenDocumentc:/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]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam