Jump to content

JoeBayLD

Member
  • Content Count

    7
  • Joined

  • Last visited

Posts posted by JoeBayLD


  1. Hi,

     

    I'm using the dialog builder, and when it creates code for python, it always uses 'TRUE' instead of 'True'. The all caps is not python syntax and requires me to do a find and replace whenever I update my dialog. 

     

    Example: 

        vs.CreateGroupBox( dialog, kControl1, GetStr(kControl1), TRUE )
     

    Can you guys fix this please?

     

    Thanks,

    Joe


  2. Any idea how to implement the vs.NotifyPullDownClicked command? I tried adding a definition:

    def vs.NotifyPullDownClicked(dialog, kLocationChooser):

    do something

    and it doesn't work.

    I need to know when the user selects a pulldown menu. Ideas?


  3. How do you use multiple criteria in Python? When using the built in tool in the script manager, it makes it in vectorscript format. Currently I have:

    crit = "T=RECT"

    How would I also add "T=LINE"?

    Thanks,

    Joe

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...