CAD[SolidWorks]
GetEquation
Calling Sequence
Parameters
Description
Examples
GetEquation(p, idx)
p
-
handle to a SolidWorks document
idx
index of an equation
The GetEquation command retrieves the equation with index idx from the SolidWorks document.
withCADSolidWorks:
OpenConnection:
doc≔OpenDocumentc:/mypart.sldprt:
GetEquationListdoc
"D1@Distance1@myassem.Assembly"=40,"D1@Distance2@myassem.Assembly"=4
GetEquationdoc,0
"D1@Distance1@myassem.Assembly"=40
CloseConnection:
See Also
Download Help Document