Jump to content

Search the Community

Showing results for tags 'script'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Announcements
    • Announcements
    • News You Need
    • Job Board
  • Feedback
    • Wishlist - Feature and Content Requests
    • Known Issues
    • Wishes Granted / Issues Resolved
  • General
    • Troubleshooting
    • General Discussion
    • Architecture
    • Site Design
    • Entertainment
    • Vision and Previsualization
    • Braceworks
    • Rendering
    • Workflows
    • Buying and Selling Vectorworks Licenses
    • Hardware
  • Customization
    • Marionette
    • Vectorscript
    • Python Scripting
    • SDK
    • 3rd Party Services, Products and Events
  • Solids Modeling and 3D Printing
    • Subdivision
    • Solids Modeling
    • 3D Printing
  • Vectorworks in Action
  • Archive
    • Resource Sharing
    • Machine Design

Calendars

  • Community Calendar

Categories

  • Knowledgebase
    • Tech Bulletins
    • Troubleshooting
    • Workflows
    • How To
    • FAQs

Categories

  • Marionette - Objects
  • Marionette - Networks
  • Marionette - Nodes
  • Marionette - Menu Commands

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Occupation


Homepage


Hobbies


Location


Skype

Found 18 results

  1. Hello, I have been working on a few Python Scripts that use third party libraries - for example BeautifulSoup4. I intend to Encryption this script into a vsm plugin so that the external libraries are bound to it and can be used on other installations of Vectorworks. I realised that the Encryption/Obfuscation method through Vectorworks is not able to bind the external packages into the vsm file: I've included the path to these libraries in the Script Options and I am using the steps indicated by Vlado in this post for the related xml file. <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- This file defines how the corresponding script plug-in should be packaged--><Plugin> <Package> <File>code/__init__.py</File> <File>bS4/</File> <File>bS4/__init__.py</File> <File>bS4/.py</File> <File>bS4/diagnose.py</File> <File>bS4/element.py</File> <File>bS4/testing.py</File> <File>bS4/builder/__init__.py</File> <File>bS4/builder/_html5lib.py</File> <File>bS4/builder/_htmlparser.py</File> <File>bS4/builder/_lxml.py</File> </Package> </Plugin> Can any one advise on how to resolve this? Thank you in advance. Giovanni
  2. Hello, I have been working on a few Python Scripts that use third party libraries - for example BeautifulSoup4. I intend to Encryption this script into a vsm plugin so that the external libraries are bound to it and can be used on other installations of Vectorworks. I realised that the Encryption/Obfuscation method through Vectorworks is not able to bind the external packages into the vsm file: I've included the path to these libraries in the Script Options and I am using the steps indicated by Vlado in this post for the related xml file. <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- This file defines how the corresponding script plug-in should be packaged--><Plugin> <Package> <File>code/__init__.py</File> <File>bS4/</File> <File>bS4/__init__.py</File> <File>bS4/.py</File> <File>bS4/diagnose.py</File> <File>bS4/element.py</File> <File>bS4/testing.py</File> <File>bS4/builder/__init__.py</File> <File>bS4/builder/_html5lib.py</File> <File>bS4/builder/_htmlparser.py</File> <File>bS4/builder/_lxml.py</File> </Package> </Plugin> Can any one advise on how to resolve this? Thank you in advance. Giovanni
  3. There are many ways to customize Vectorworks to better fit your needs. You can script in VectorScript or in PythonScript. You can create a Marionette network. You can create a custom worksheet. What you have not been able to do until now is find an in-person place to interact with others also interested in customizing VW. Michael Klaers and Pat Stanford (all around Good Dudes™ and frequent posters on the forum) would like to change that. But we need to judge if there is sufficient interest to make it worth our time to do the organizing. We have posted a short survey. 10 questions. You can answer them all in less than 2 minutes. Give us 10 minutes and you can have massive input into the event. We are truly interested in your responses, regardless of if you like the idea or not, we would like to get your feedback so we can see a broad cross section of users. The survey is posted at https://www.supersimplesurvey.com/survey/20404/conference-interest No personal information is required. We won't spam you. We just have this idea and want to see if others are with us. Thanks in advance. We hope the interest exists and we will see you at the first annual Customization Conference.
  4. I've got over 60 different SketchUp models I need to import and due to resource conflicts, I have learned that it is best to import them all into one file, all at once. That said, the SketchUp import only processes one file at a time, needing the user to accept each import manually. It's at the pace of about one import every 2 minutes or so. I was wondering if there was a way to script this import process so that Vectorworks would just use and import the same settings for all the files, without the need to have a user accept each import every 2 minutes for 2 hours of time? Any help or suggestions are welcome, thanks.
  5. Hi there, I've seen a few topics around screen plane, layer plane and 2d drawings however I wanted to ask a different question. Is there a script anyone knows of that allows every line/polyline etc in the drawing to be selected and changed to screen plane? I know in the settings this can be set to screen plane only - the problem arises when something is pasted from a previous drawing this setting becomes overridden. If anyone knows how to quickly change this without having to go through each item and change to screen plane please let me know! Thanks.
  6. tca

    Autocad layers import

    Does anybody have any advice for the following problem? 1. We received an Autocad template (.dwt) containing a layer system used by the client (we have to use the same system) 2. When we import the .dwg (saved from the .dwt) in Vectorworks it only brings in the layers (VW classes) which contain objects. The .dwt template doesn't contain any objects so no classes in Vectorworks 3. Possible solutions would be: - manually draw an object in each of the +300 layers in autocad and then import in VW - some kind of autocad script that does the above - a magic VW trick or script? thanks
  7. I am wondering if there is a way to use a script to populate a worksheet with all of the Plant Plug-in objects that are located within a file's Resource Manager, but not necessarily placed in the drawing. Could this also be refined to populate the list with Plug-in Objects placed within a specific folder in the resource manager? Can the script mine the data of the plug-in object to list the latin name, common name, schedule size, etc. similar to a database worksheet does for objects placed in the drawing. Thanks.
  8. I have over 1000 different plant symbols in a drawing. The 2D components of these symbols are all very basic circles with black outlines and different color fills...that's it. One object...a circle. Since I stupidly did not Make All Attributes By Class when I created these symbols originally, I am now trying to find a fast way of changing the pen color of every single plant object in the drawing without having to change them each individually. This seems like something for either marionette or a custom script. Can someone please advise? I would love the help. Thanks.
  9. Hello, I am hoping to get some help with a potential marionette script. I am a novice at marionette and have no idea if this is even possible, but basically I'm hoping to Create Plants from a very basic circle for all plants marked as Favorites in the Vectorworks Plant database. Additionally, it would be great if you could assign the Plant Definition's width, height, spacing, ID, etc. from information present in the database. I don't know if marionette can access outside database information and then put it in the right place within a Plant Definition. I actually don't even know if it is possible to create a plant from marionette. Thanks in advance for the help.
  10. Hello, I am hoping to get some help with a potential marionette script. I am a novice at marionette and have no idea if this is even possible, but basically I'm hoping to Create Plants from a very basic circle for all plants marked as Favorites in the Vectorworks Plant database. Additionally, it would be great if you could assign the Plant Definition's width, height, spacing, ID, etc. from information present in the database. I don't know if marionette can access outside database information and then put it in the right place within a Plant Definition. I actually don't even know if it is possible to create a plant from marionette. Thanks in advance for the help.
  11. Does anyone know if it's possible to create a script set the active class. I'd like to have a small palette on screen that sets my most used classes as the active class. This would give a much quicker way of getting to the classes I need the most without constantly searching through the full class list. I'm aware you can do it with saved views (as I've shown on the attached screenshot) but if possible I'd prefer to have it in a seperate list.
  12. Vectorworks allows you to enter a description of a layer or class in the edit layer/class dialogue. This from VW Help about class descriptions (the same applies to layer descriptions): "The description displays as a screen tip when you position the cursor over the class name in the Organization dialog box, Navigation palette, or (on Mac only) the Classes list from the View bar. Descriptions also display in the New Classdialog box, so that you can see descriptions of classes before you import them". That is great however it seems to fall down when a new classes or layer is created by duplicating an extg one. I often duplicate classes or layers so that the new class/layer has the same attributes & viewport visibilites as the original. Unfortunately it also duplicates the class/layer descriptions which may then also not apply to the use of the new class/layer. I want to easily be able to manage these descriptions in my files however the descriptions aren't listed in the organisation dialogue box. Is there a simple script out there somewhere that can create a worksheet that lists the name and descriptions of classes and layers in a file? In addition it would ideally be possible to edit the descriptions straight from the worksheet.
  13. Theres no documentation I could find on setting up your plugin/plugin object to recieve/set plugin styles. Anyone knows?
  14. Samuel Derenboim

    Timestamp & Titleblock

    Hi everyone, I have been wondering the new title block feature - is there a way to callout a time stamp (as opposed to a date stamp) for the titleblock? The time stamp tool doesn't work inside of the titleblock, and was wondering how that could be fixed? It useful in determining the latest revision of a set that might've not been issued as a new revision or a new issue set. Hoping to get some suggestions. The secret i think is in the new pop-up feature shown in the sheet and project dataset? Now, only if i knew a way to callout the timestamp function....
  15. Diego-Resuelvectorworks

    WebView Script Error

    Hi everyone, I'm trying to export to WebView a small project, the file upload to the Vectorworks server, but when is goinf to open the browser to show the model gives me a script error. And I'm unable to view the model. I've been using webview for other projects and never had an issue. I'm using Vectorworks 2017 macOS Sierra Safari as default browser..
  16. Hi all, Is there a way to vectorscript an automatic update of dates in the titleblock fields prior to publishing? I understand there is the data stamp tool available but it just seems more direct if there was a plugin to execute that targets the date field. Gabriel VW2017 Spotlight user MacOS
  17. I created a plugin object using python. The main code was pasted into the script editor via the plugin manager. I compiled the script and the plugin item works as it should. Now I would like to lock the script. I'm on a mac and recently made the jump from Vectorworks 2008 to 2016. In the past when creating a vector script I could lock it by holding down 'command' + 'option' + 'shift' + 'caps lock' (it was important that all external files had the extension .px) Now i'm in 2016 and scripting with Python. I only have 1 other file in addition to "import vs", which is, "import shapes" when i compile my script (shapes.py). It finds this file via the scripts options/environment paths. How do I go about locking or encrypting this plugin object? also, I do have a __init__.py file included in the folder that contains shapes.py
  18. Hi, I need some help with custom plug-ins. I created a custom plug-in with a custom point object. It seems to work fine Now I need to create a command that will be executed from a menu that invokes the tool to place the custom point object in the document. I've been looking around but I don't seem to find how to do it. My questions are How to invoke the tool for the custom point object from the command script How to set up the parameters for the custom tool (Height, Width, etc.) for the new object I'm about to create Thanks in advance.

 

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.

×