ST7 - New Measure Command

Valued Contributor
Valued Contributor

Hello All,

 

I am trying to update my VBA tools for ST7, particularly trying to replace old 'Measure Distance" calls:

.StartCommand(CommandID:=AssemblyAssemblyToolsMeasureDistance)

.StartCommand(CommandID:=WeldmentToolsMeasureDistance)

.StartCommand(CommandID:=PartToolsMeasureDistance)

.StartCommand(CommandID:=DetailToolMeasureDistance)

 

with a new 'Measure' command but I am having problem finding CommandID or command name for it.

Freshly downloaded Spy does not seem to see it as well

 

Thanks in addvance for your help.

 

Milan

www.aaaengineering.com

 

 

 

Milan Wendl, MEngSc, P.Eng.
AAA Engineering, Canada
ST10, SolidWorks Premium 2017
1 REPLY

Re: ST7 - New Measure Command - "Solved'

Valued Contributor
Valued Contributor

It's me again,

 

Went to look at it again and Spy shows CommandID for all following environments:

.StartCommand(CommandID:=AssemblyAssemblyToolsMeasureDistance)

.StartCommand(CommandID:=WeldmentToolsMeasureDistance)

.StartCommand(CommandID:=PartToolsMeasureDistance)

.StartCommand(CommandID:=SheetMetalToolsMeasureDistance)

 

the same value of 11265.

So it does not need extra assembly, part, sheet metal and weldment code. This wil do for all:

.StartCommand(CommandID:=11265)

 

Milan

 

 

Milan Wendl, MEngSc, P.Eng.
AAA Engineering, Canada
ST10, SolidWorks Premium 2017