AnsweredAssumed Answered

Get 3d sketch Dimensions or Names

Question asked by Mário Nunes on Feb 19, 2021
Latest reply on Feb 22, 2021 by Fifi Riri

How do I get the dimensions of a 3d sketch or the dimension name?

I need all dimensions or all dimension names.

Is there a way to get this information?

help.

 

Ex:

Note: "Larg" is a name of dimension and "3Dsk" is a name of sketch

 

boolstatus = Part.Extension.SelectByID2("Larg@3DSk@Caixa.SLDASM", "DIMENSION", 0.253593540230123, 2.71726534966235E-02, 0.935720861218743, True, 0, Nothing, 0)

 

Dim Larg    As SldWorks.Dimension

Dim dLarg    As Double

Set Larg = swModel.Parameter("Larg@3DSk")

dLarg = Larg.Value

Outcomes