Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by VectorGeek

  1. Steven! Many thanks! I have purchased and so far it is working great. V-G.
  2. For many versions, Vectorworks seems unable to cope with palette locations on multiple monitor setups. We work on M2 Pro laptops with two external monitors (32" centre, 27" right). Everyone has an identical setup at our office and at their home. An example of the issue: 1. At the office, open Vectorworks and setup with main drawing window on centre monitor and palettes (tools, OIP, navigation, resource manager, script palettes) on right-hand monitor. 2. Quit Vectorworks at end of day. 3. Plug in at home, and open Vectorworks. 4. All palettes move back to centre monitor. In some cases, palettes have resized and have become undocked. This is a frustrating and time consuming problem that all of our users face every day, often twice a day. I'd be happy to hear of a fix and/or a third-party utility that can restore palette locations. FYI - the "Save Palette Positions" command does nothing. Thanks! V-G Vectorworks 2023, MBP M2 Pro, 64GB 1964 Ford Falcon
  3. Pat! You solved it!!! I was just creating a file to upload and I tried the steps you note. Changed the cell to be "text" format, entered a letter (which the cell infers as true text), then changed the letter to the desired number. Works all day long! The key is tricking the cell with a piece of text first. Weird. This will be a huge help in our huge area tracking spreadsheets for multi-unit developments. Thanks for the effort!
  4. Hi Pat: I tried both of those ideas, in addition to setting the cell (G45) to be "text" in the formatting options. No luck. I will try and cobble together an example file and post. The main file is 300MB. 🙂 V-G
  5. Is it possible to have a worksheet formula reference a cell? For example, if my formula is this: =COUNT((((S='Unit A1') & ('Unit Disposition'.'Building'='2')))) Would it be possible to have a cell with value of "2" (let's pretend that is cell G45 for argument's sake). I'd like to reference that cell rather than typing in the string in each formula. Something like: =COUNT((((S='Unit A1') & ('Unit Disposition'.'Building'=G45))) Doesn't seem to work though. I know there is a worksheet function called value(), but it doesn't seem to do anything either. Any help would be appreciated. V-G Chooglin' since 1969.
  6. Vectorworks palette control is quite frankly terrible, and remains a constant frustration to us. We each work on laptops with high-end docks and two external monitors. Disconnecting and then plugging back in causes a complete rearrangement of palettes, and a need to move them all each time. Also, the docking of palettes is dysfunctional. I wish VW would spend more resources on this and stop adding useless 3D functionality. VG. Former Olympic Biathlete.
  7. Thanks Josh - that's pretty much what I thought. Strange regression - I will buglist it. V-G
  8. Hi Raymond: Thanks for your response. Yes, interactive mode is set to "multiple object" mode. Multiple Reshape does work, so that is a good option. Interestingly, if I try the stretching process with an NNA linear PIO (say, the "Clothes Rod" for example), it works fine. So it must be something in our custom PIO. The only difference I see is that our PIO is not "Event Based". When I turn that parameter on, the thing goes quite wonky. I have no experience with event-based objects. V-G
  9. We have numerous customized PIOs that we use daily. Some of them are "linear" objects, such as a grid bubble with a line extending off it. In previous versions of VW, our users could select multiple instances of this object, drag one line end, and all line ends would follow (similar behaviour as if one selected several 2D line objects, and stretched one). That functionality seems to have gone away in VW2021. Drag one and only it moves - the others stay put. Not sure if this is a regression, a setting I am missing, or perhaps if the PIO needs additional work to make this happen. Any input would be appreciated. V-G -- Vectorworksing since Clinton was el presidente.
  10. Does this do anything that the Eyedropper Tool doesn't? V-G
  11. Great ideas - thanks Julian and Pat for the value input. V-G "All we are is dust in the bin"
  12. Is there a way to get the orientation (AKA flippification) of a symbol in a wall, and change it using VS? Asking for a friend. V-G "Vectorscripting since 1865"
  13. I have a path PIO that I use for measuring specific areas and would like to modify it so as to have a second, controllable path inside the first. The inside shape may take on a different path than the outside one (see example herein), but could start by default with a fixed offset. Ideally, when using the reshape tool, handles for both the inside and outside handles would appear allowing me to edit either. This is slightly different from a donut object (as one would create by using Clip Surface), because I need to track the areas of both the inside and outside shapes, as well as turn on/off the lines that define the two shapes and control their respective graphics. Not sure if this is possible as the basic function (GetCustomObjectPath) seems to only be able to create a single path. Any creative ideas and input would be welcomed!! V-G.
  14. Yup that's it. Creating a second external reference would make those layers have an NNA#2_ prefix. A third references's layers would be NNA#3_ etc.etc. Confirmed by test file. So that explains why you saw NNA#7_ and I saw NNA#1_. VG
  15. Hi michaelk: I am running Vectorworks 2019 SP 5.3, Mac OS X Mojave. I duplicated the DLVP several times and ran the command - still coming up as NNA#1_. I'll try creating a new DLVP with different layers, and from a different referenced file. Perhaps the number increments in that case. Will report back. VG.
  16. michaelk (and Pat!): This is MASSIVE, and solves my issue as posted (and reposted) over the past years: The "hidden prefix" means that I can control the layer visibility within DLVPs with VectorScript, and that will save us considerable bloat in our files (ask me and I can explain). One interesting note is that when I run Pat's script, I get a response that DLVP layers have prefix of NNA#1_ (not NNA#7_)...wondering if that was a typo or if there is some more mystery here...?? Thanks for this. I have been struggling for some time to get this working!! V-Geeque #gowisconsin
  17. Kevin (or anyone else): Were you ever able to find out if it's possible to access layers within a reference DLVP? I have tried a lot of prefixes with NNA_, but nothing has worked yet. V-G.
  18. Many many thanks Nicolas and Josh. The assigning of the global variable "h" to a new variable works perfectly! V-G.
  19. Thanks Nicolas - I'm still confused however. If I declare h:HANDLE in the main procedure, isn't it available throughout the entire script? How would you recommend that I setup the handles in the sub-procedures then? V-G
  20. Hey y'all: We have a custom Path PIO that we use to track various areas (unit overall, storage, balcony) for apartment units. So that I can create a database worksheet that summarizes all the areas, unit by unit, I am working on a command that posts the areas from two small path polys to a larger path poly. The user would run this command before recalculating the database worksheet. I'm using a few ForEachObject() procedures (one in the main procedure, and two in a subroutine) to cycle through the objects, looking for a match by "unit number". Here is the code: Procedure bindareas; VAR h : HANDLE; hProcessStorage, hProcessBalcony : HANDLE; TheUnitNumber, StorageArea, BalconyArea : STRING; Procedure process_storage (hProcessStorage : HANDLE); BEGIN IF GetRField(hProcessStorage,'VG-Area Poly','unitnumber') = TheUnitNumber THEN BEGIN {get the storage area and post it to the source object} StorageArea := GetRField(hProcessStorage,'VG-Area Poly','calculatedarea'); SetRField(h,'VG-Area Poly','boundstorage', StorageArea); END; END; Procedure process_balcony (hProcessBalcony : HANDLE); BEGIN IF GetRField(hProcessBalcony,'VG-Area Poly','unitnumber') = TheUnitNumber THEN BEGIN {get the balcony area and post it to the source object} BalconyArea := GetRField(hProcessBalcony,'VG-Area Poly','calculatedarea'); SetRField(h,'VG-Area Poly','boundbalcony', BalconyArea); END; END; Procedure do_me (h : HANDLE); BEGIN TheUnitNumber := GetRField(h,'VG-Area Poly','unitnumber'); ForEachObject(process_storage,((NOTINDLVP & NOTINREFDLVP & (R IN ['VG-Area Poly']) & ('VG-Area Poly'.'polyclass'='Area-Storage')))); ForEachObject(process_balcony,((NOTINDLVP & NOTINREFDLVP & (R IN ['VG-Area Poly']) & ('VG-Area Poly'.'polyclass'='Area-Balcony Open')))); END; BEGIN {main} ForEachObject(do_me,((NOTINDLVP & NOTINREFDLVP & (R IN ['VG-Area Poly']) & ('VG-Area Poly'.'polyclass'='Area-Strata')))); ResetObject(h); END; Run(bindareas); When I run it, it works, except for the posting of values to the main Path PIOs (the SetRField() procedures). In the subroutines “process_storage” and “process_balcony”, I am getting an error in the debugger that the handle called “h” is NIL so it doesn't execute the SetRField() routine. I don’t really understand passing handles to subroutines very well so I think it’s probably something simple. Any help would be greatly appreciated. All the best, V-G
  21. Thanks Josh and Pete for confirming that I am not losing my mind. Jonathan, as I said, this is happening without a mode bar change (U key or otherwise). What's weird is I can't pin down exactly when and where it happens, therefore I have also not filed a bug report. Pete - your description is EXACTLY the same behaviour I am seeing - randomly changing modes after clicking on an object to put down the attributes. Wondering if Jim can lend any insight... V-G.
  22. Is it just me, or does the Eyedropper Tool have a mind of its own? I regularly see it change modes demo pickup to put down, WITHOUT having pressed mode bar key or the option key (which should temporarily toggle to the alternate of the current setting). Signed, V-G.
  23. Thanks Andy and Josh. Got it working with the __NNA_DO_NOT_CHANGE trick. V-G
  24. Thanks Andrew: I believe this does the same as SetParameterVisibility() which shows/hides parameters on the OIP. What I am looking for is a way to hide the parameters in the Properties dialog that appears when an object is first placed. Will test though to see if it does indeed do this. V-G.
  • Create New...