Jump to content

Michael Gilbert

Member
  • Posts

    63
  • Joined

  • Last visited

Everything posted by Michael Gilbert

  1. Is there a way to decompose or convert a wall in some way such as to be left with just a centre line only? If there is can this be done on multiple selected walls simultaneously? Why? Using single internal footprint of floor from internal side of external walls it would be great if internal walls could be duplicated, decomposed to leave centre line so that centre lines could then be used to clip footprint creating room footprints on centre lines of walls. Using a wall style with specified attributes custom searches could easily be set to delete unwanted lines leaving just centre lines.
  2. I have been trying to set up a macro that will click specified button on Obj Info palette depending on trigger, e.g. Command+3 (on numeric keypad) clicks bottom right button. This used to be easy as the button display was static. Now it expands and contracts based on an objects dimensions. However, I can work round this but need to ascertain how may steps in button expansion there is and x/y dimension ratio that triggers expansion. For a horizontal rectangle (macro only works with rectangles) where dims x > y it appears that once x/y is ≥ 1.11 then button array expands. Also, I can only detect a single expansion. For a vertical rectangle where x > y it appears that once y/x is ≥ 1.12 then button array expands. Also, I can only detect a single expansion. No steps due to in x/y ratio. Can anyone confirm that there is only a single expansion of the button array? And someone from tech support confirm these ratios as the triggers for button array expansion? Apologies if posting in wrong forum. Using VW 2017 on Macbook Pro OS X 10.11 Thanks Michael
  3. Put in request as per your suggestion. Thanks for help.
  4. Currently the button array in Obj Info is dynamic and whilst this looks nice those buttons still have to be clicked manually. If the button arrays were static then creating a macro in third party app to click a button triggered by key combination, e.g. Command+N (OS X - from number keypad) would be easy and save a lot of mousing around. In prior versions with static button array it was very easy to set-up and saved both time and effort.
  5. Are you just looking for a way to assign a keyboard shortcut to the widget? Widget? Do you mean the Obj Info palette? I have a macro that can activate Obj Info palette regardless of initial conditions. Follow on macro to ascertain if selection is Group, Rectangle, Polygon, etc. Have macro to place cursor in x dimension field. But cannot work out how to click radio button - even when restricting to objects that are at 90 or 180 degrees. I thought I had solved it but then in use realised that the button array is not just displaying object orientation but actually expands or contracts based on x & y dimensions as per images. I can test for dims y>x, x=y, x<y where needed to work out orientation and shape, e.g. for a rectangle but because the button array expands and contracts I cannot use a pixel reference as a mouse click location which I would be able to do if button array was static. Bummer :(
  6. Is there any way that I can possible reference a button in Obj Info palette? I cannot use location based upon X & Y pixel distance from a found image such as "Rectangle" text. VS script, python, anyway at all? Just run out of ideas. If the buttons were static this would not be an issue but because the button array is dynamic am unable to specify location based on pixel location and Accessibility Inspector in OS X does not show a reference for the buttons per se. In prior versions a macro trigger, e.g. Command+1 (on numeric keypad) would click the bottom left button. However, unable to recreate in 2017 using Keyboard Maestro due to dynamic button array. Any out of the box ideas anyone? For example, disable dynamic button display and make it static?
  7. Hi Benson was creating a new template so somehow I deleted Basic Tools palette. Not sure how. Sorted now. Be nice if we could custom colour palette though. Thanks for help on this. m
  8. Hi Benson thanks for input. I did hunt around on the screen as closed mode. Using 3 screens so sometimes off somewhere! Not listed in Window>Palettes. Have not found but switching Workspaces and palette shows up. So somehow I have managed to disable via Workspace editor - not sure how as showing in the editor! The Basic Palette is switched off via red button - where's that? Appreciate help. Michael
  9. Really dumb question but cannot find Basic Tool Palette on screen anywhere. No option under Workspaces to show/hide. Not listed under Window>Palettes menu. Also, any way to change Palette default colours? All these greys - brilliant camouflage but not great for old eyes. VW 2017 Fundamentals/Architect. Macs. Thanks Michael
  10. Cheers Jim. I note this is specs for 2019 but close enough to 2017 to probably inform me of what I need. Many thanks michael
  11. Anyone have a source that lists differences between Fundamentals and Architect? Do not want generic differences but nitty gritty as to exact differences between the two. Thanks Michael
  12. Is Connected wall mode available in Fundamentals, 2013, 2016 or 2017? Been looking but cannot find definitive comparison. If not any work around? Architect is overkill for what we need.
  13. Using Hazel 2.3.10 on old PPC. Watching folder using embedded applescript: set p to "Untitled 3/Applications/VectorWorks 12.0.0/VectorWorks" tell p translate end tell Anyone know why this is not running?
  14. Trying to understand basic of vectorscripts by just looking at very basic scripts I keep seeing CallTool followed by a number in brackets, e.g. CallTool(-209); Am I right in assuming that 209 refers to a specific tool? If so is there no way to get a list of Tools & references numbers? Thanks Michael
  15. Simple question. Can anyone remember if these 2 old versions of VW are scriptable with applescript? Thanks Michael
  16. Thanks Pat that combined with Keyboard Maestro enabled me to recreate macros from Quickeys. Much appreciate help. Michael
  17. I am using Applescript to check if menu item is enabled, e.g. is Obj Info palette checked or unchecked. I can then pass that value to an if-then step. This is what I have tried running: tell application "System Events" tell process "Vectorworks 2017" get value of menu item "Object Info" of menu item "Palettes" of menu "Window" end tell end tell When I run this I am getting error: "System Events got an error: Can’t get menu "Window" of process "Vectorworks 2017". The main menu item is "Window" so anyone know what I am doing wrong? See attached pics Thanks Michael
  18. I have copied workspace and a file containing wall scripts that call wall styles to a remote machine. However, on remote machine when I open the copied file the wall scripts will only ever draw one of the styles contained in the copied file. If I compare the 2 Resource palettes the remote machine does not list the Wall Styles. Is there something really dumb I am missing - I thought the Styles would be contained in the copied file. The image on the right taken from local machine shows Wall Styles listed - see red box. But on remote machine listed in blue as per local machine but not under resources drop down menu. Any advice much appreciated. Michael
  19. Have been sent a cloud file xyz. Can import OK into 2017 but looks like a dogs dinner. File came from Matterport Pro 3D Camera. Anyone have any relevant input be grateful as would like to play around with this? Import settings etc. Thanks Michael
  20. Hi think I messed up versions as nomenclature confuses me. We are still using old PPC's and are making the "Great Leap Forward" to 2017! New OS, new VW, new everything. VW Room Script is what I am trying to get working. Any advice much appreciated. Also, are there any script developers for VW on this or any other site? Thanks Michael VW Room Script.txt
  21. I have just been opening some very old files created in I think VW 10. 2017 appears to open no problem but we have some scripts for which I get error message. If I open the plug-in using Textwrangler the following jumps off the screen: #show dialog here question = 'Python module ' + missingLib + ' is not installed. Would you like to download and install it now?' res = vs. AlertQuestion(question,'', 1,'','','','') if res == 1 : if sys.platform == 'win32': piploc = 'Python33\Scripts\pip.exe' pathpip = 'Python33\Scripts' cdpath = os.path.join(appfolder, pathpip) cmdpip = os.path.join(appfolder, piploc) wd = os.getcwd() if os.path.exists(cmd) and os.path.exists(cmdpip): os.chdir(cdpath) ret_code = subprocess.call([cmdpip, 'install', missngLibURL, '-t', cmd ]) if ret_code > 0: vs.AlrtDialog('Module ', missingLib, ' cannot be downloaded.'); exit_code = False else: exit_code = True sys.path.append(cmd) os.chdir(wd) elif sys.platform == 'darwin': import pip import urllib.request pos1 = missngLibURL.rfind('/') pos2 = missngLibURL.rfind('whl') downloadedfile = missngLibURL[pos1+1:pos2] downloadedfile = downloadedfile+'whl' urllib.request.urlretrieve(missngLibURL, appuserfldr + downloadedfile) ret_code = pip.main(['install', appuserfldr + downloadedfile, '-q', '--target', cmd ]) if ret_code > 0: vs.AlrtDialog('Module ', missingLib, ' cannot be downloaded.'); exit_code = False else: Anyone advise as to how, what, where "Python module ' + missingLib + " Many thanks Michael
  22. Anyone know where I can locate a Mac install copy of VW 11? Lost install disc years ago and need for old machine sitting in the corner. Cheers Michael
  23. Thanks for all feedback. Have to do a bit of keyboard juggling!
×
×
  • Create New...