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.
with⁡CADSolidWorks:
OpenConnection⁡:
doc≔OpenDocument⁡c:/mypart.sldprt:
GetEquationList⁡doc
"D1@Distance1@myassem.Assembly"=40,"D1@Distance2@myassem.Assembly"=4
GetEquation⁡doc,0
"D1@Distance1@myassem.Assembly"=40
CloseConnection⁡:
See Also
Download Help Document