Your Products have been synced, click here to refresh
Dim App As Object Dim Part As Object Dim Cmds As Object Dim Cmd As Object Dim MyID As String Dim MyNom As String Dim MyDev As String Dim MyAx As String Dim Meas As String Sub Main() Set App = CreateObject("PCDLRN.Application") Set Part = App.ActivePartProgram Set Cmds = Part.Commands For Each Cmd In Cmds If Cmd.IsDimension Then MyID = Cmd.DimensionCommand.ID Meas = Cmd.DimensionCommand.Measured MyAx = Cmd.DimensionCommand.AxisLetter MsgBox MyID & Meas & MyAx End If Next End Sub
Dim App As Object Dim Part As Object Dim Cmds As Object Dim Cmd As Object Dim MyID As String Dim MyNom As String Dim MyDev As String Dim MyAx As String Dim Meas As String Sub Main() Set App = CreateObject("PCDLRN.Application") Set Part = App.ActivePartProgram Set Cmds = Part.Commands For Each Cmd In Cmds If Cmd.IsDimension Then MyID = Cmd.DimensionCommand.ID Meas = Cmd.DimensionCommand.Measured MyAx = Cmd.DimensionCommand.AxisLetter MsgBox MyID & Meas & MyAx End If Next End Sub
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |