Jump to content

Ridge

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Neutral

Personal Information

  • Occupation
    Drafter
  1. Thank you for clarifying the menu chunks. I did find those in my previous research, but I couldnt quite figure out what it all meant. Everything is working fine now. Thanks for the quick response!
  2. My question is regarding the Command ?DoMenuTextByName?. I am trying to use said command to enter a predefined group, do what I need it to do, and then exit group. But every time I run the script it returns this error: Error: OBJEDTCYCL DOMENUTEXTBYNAME - Menu cannot be found. Edit Group Here is a simplified version of the script that I?ve been using as a test on the command: Procedure ObjEdtCycl; BEGIN DoMenuTextByName('Edit Group', 0); SelectObj((((C='Beam-Mask')|(C='Joist-Mask')))); DoMenuTextByName('Exit Group', 0); END; RUN(ObjEdtCycl); Symbols cannot replace the predefined groups because that option would produce too many unique symbols for every drawing sheet. And when I simply ungroup the entities in my script, I get a dialogue box about ungrouping objects with record or class information. Since I want to avoid user interaction with the script, this option is also not available. For those of you who want to know: I am working in VectorWorks 11.5 on a Mac running OS X. It also doesn?t help that this is the first script I have ever written, so I?m sure I?m doing something very simple in a very wrong way. I?d appreciate it if anyone could shed some light on this problem. Or if there is no way to edit groups via script command, is there any way to suppress the warning dialogue one would receive when ungrouping something with record or class information?
×
×
  • Create New...