Jump to content

Antonio Landsberger

  • Content Count

  • Joined

  • Last visited

Community Reputation

24 Great


About Antonio Landsberger

  • Rank

Personal Information

  • Occupation
    ComputerWorks employee
  • Location

Recent Profile Visitors

1,031 profile views
  1. @Pat Stanford Perfect, thank you. This wish pretty much would have solved what I was trying to accomplish.
  2. When I have a worksheet script running in a particular column, I want the script to know whether it's the first subrow or not. That's because I want a calculation to run only once, even though there are many objects in the list. But since I already calculated the necessary value in the first subrow in the rest of the subrows I just want to get the value from the first subrow. I'm imagining something along these lines if (WSSubrowCurrent==1): calculate() else: GetWSSubrowCellValue(1) Of course GetWSSubrowCellValue would require the current row and column, which brings me back to: how do I get the current row, column and subrow? I'm not seeing any VS command in the dev wiki to accomplish this. Does anybody have good ideas?
  3. @Heblon @ericjhberg Check out the recently uploaded Marionette tools here: It might be able to accomplish what you are looking for.
  4. If you only want to see the values that are coming out of a node, use the "Print Debug" node. Consider disabling both the time and type in the OIP of this node. If you are new to Marionette, please check out the online webinar series "Marionette Monday" by Sarah: @sbarrett Could you please ask the web team to make a YouTube playlist out of the Marionette Monday webinars?
  5. Hi @Alessio, that is possible. Simply use the Marionette.WidgetType.TextStaticParam in the OIP part (see also the developer wiki) and change the value shown by using self.Params.Something.SetValue For example: FileName = Marionette.OIPControl( 'File name', Marionette.WidgetType.TextStaticParam, '<None>' ) self.Params.FileName.SetValue( str(os.path.basename(vs.GetFPathName())) ) Regards, Antonio
  6. There are no existing standard Marionette Nodes I know of, that have site model capabilities. This is most likely because there are no corresponding VectorScript commands for this. The only area in the developer wiki in which I could find entries to "site model" is VCOM: https://developer.vectorworks.net/index.php/VCOM:VCOM_(Vectorworks_Component_Object_Model) This can only be used with SDK though. If that's the case, there are two possiblities: a) ask VW Inc to make those VCOM functionalities available through VectorScript commands (if that is even possible) b) get comfortable with SDK
  7. Hi @Aneesh Carvalho, a setup like this should do what you are looking for: Mind you: the series has to start with 1 instead of the default (0) for this to work. Regards, Antonio
  8. This is the latest Pillow library for Python 3.8 (which is the Python version shipped with Vectorworks 2021): if platform == 2: PIL = 'https://files.pythonhosted.org/packages/fc/2f/b0948c5aef8bdb6954b8421177c883818e6ae901a8da7c83fea9e7bd6d10/Pillow-8.1.2-cp38-cp38-win_amd64.whl' else: PIL = 'https://files.pythonhosted.org/packages/b9/43/a53278d0dc94b9c3e6db43bba873a240c3339a762ac05df197b8eaca819f/Pillow-8.1.2-cp38-cp38-macosx_10_10_x86_64.whl' It can be found here: Pillow 8.1.2 https://pypi.org/project/Pillow/#files
  9. Hi @Nomi you can find the record field names here: http://cw-downloads.eu/entwicklung/ Just type "Raum" in the search bar on the upper right and you will get both the localized German as well as the Universal record names. Antonio
  10. That's easy - assuming the name of the node or file corresponds to the name of the entry in the Marionette Gallery. 1) Click on "Marionette" at the top of the page. 2) Click into the search bar in the upper right corner. 3) Select >>Search In "Files"<< 4) Write the name of the tool/node/object you are looking for into the search field. 5) Hit enter. Point 3) will assure that the search goes looking through all Marionette Gallery entries and will give you suitable results.
  11. Hi Adrian, welcome to the Marionette crowd! As far as I can see the objects are secondary. What you are really after are the class names of those objects and of those class names you only want one of each. If that is the case, this is really simple. The Remove Duplicates node will play a part in this. The first node after the Objs by Crit should be Get Class after which you connect the Remove Duplicates. Now you have a list of class names without duplicates. From there continue the network as you have it already. Good job so far! Regards, Antonio PS: Give the Set Class Extended a try. It will save you many nodes and make things more tidy.
  12. @Thomas Peters Hi Thomas, the issue you're having is indeed a bug, not what you are suspecting though. Not the difference between metric and imperial is at play here, but the scale of the design layer at which the red symbol was created (here: 1/4''=1') and the scale of the design layer you are trying to insert the red symbol. If the two scales are different, all wires within the wrapper are disconnected and thus: no more geometry in the Marionette Object. Long story short: this was reported a couple weeks ago. There's a chance this might be fixed with 2021 SP3 - no promises though. Regards, Antonio
  13. @C.Wittmann Please do tell us how you solved it in case someone else runs into the same issue. Bitte schreiben Sie noch wie Sie es gelöst haben, damit andere von der Lösung profitieren können, falls sie in die gleiche Situation kommen.
  14. @sbarrett Sarah, could you please have a look at this? It looks kinda familiar, but I cannot put my finger on it.
  15. Hello @Pumpkin welcome to the Vectorworks forum! If you want to get to the interesting point of your requirement, you can start with this: This already does the first part for you: lookup and list all symbols that are in a specific folder showing up in a nice little dialog. Now you just have to figure out the second part: filtering the list of symbols using the criteria specified by you. Good luck! Regards, Antonio


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...