hexagon logo

List of features

Is there anyway I can retrieve a list of features in the current partprogram, without needing to enumerate through all commands in the entire partprogram?

The way I am currently doing it, is enumerating all commands (in the active partprogram) via COM and this takes a couple of seconds (time is money!) before it has parsed all features ready for me to use.

For example, if you click any of the construction icons you will get a list of features to use - instantly... This is what I am looking for.

Anyone?

Jared?Blush
Parents
  • sorry to say, but i'll know no other way as to enumerate through
    all commands with automation

    But the speed of the enumeration can be as fast as lightning,
    if you set the demon invisible during the automation

    Set PCD_App = GetObject("", "PCDLRN.Application")
    Set PCD_pp = PCD_App.ActivePartProgram
    Set PCD_Cmds = PCD_pp.Commands
    PCD_App.Visible = False
    ...


    HTH
Reply
  • sorry to say, but i'll know no other way as to enumerate through
    all commands with automation

    But the speed of the enumeration can be as fast as lightning,
    if you set the demon invisible during the automation

    Set PCD_App = GetObject("", "PCDLRN.Application")
    Set PCD_pp = PCD_App.ActivePartProgram
    Set PCD_Cmds = PCD_pp.Commands
    PCD_App.Visible = False
    ...


    HTH
Children
No Data