Jump to content

ahedley

Member
  • Posts

    30
  • Joined

  • Last visited

Everything posted by ahedley

  1. Does anybody know up to what Revit version Vectorworks 2018 will import? A client sent a Revit file from his client, when I tried to import I got an error message saying that the version of revit was not supported. I'm not a revit user although I have revit LT 2018, so I thought I could just open it up and save at a lower version only to find out you can not do that. I suspect the file was Revit 2018. I was able to export from revit as an ifc and import into vectorworks. The import was good however I lost a lot of functionality in vectorworks like the create interior elevation viewports which needs walls to work with. I really needed that vectorworks command to work. It would be really appreciated if we could know upon release of a new version what versions can be imported. Perhaps a wish list item - if vectorworks can export its native objects to ifc it would be great to see ifc objects converted to vectorworks objects.
  2. Version 1.0.0

    65 downloads

    I would like to contribute for free 12 marionette networks. They comprise of 12 architectural arches; Semi-Circle, Segmental, Equilateral, Lancet, Drop, Tudor, Turkish, Rampant, Parabolic, Involuted, Arabic and Ogee Arches. All the networks are parametric, customizable and can be freely modified. Would appreciate your comments.
  3. My apologies, I meant plug-in tools.
  4. From what I understand GetPt( ) is used in vectorscript when you are trying to create a tool plugin object which may require multiple user points. GetPt( ) and GetPtL( ) are procedures that are used in conjunction. I have noticed in vectorscript it is relatively easy to use these procedures. However in pythonscript it is very challenging, for instance, vs.GetPt( ) using a callback function will work only once. Trying to get multiple vs.GetPt( ) calls thus far for me has proved futile. I have tried without success to use vs.GetPtL( ) which generally uses as its first point the point you select via. vs.GetPt. Has anybody had success creating tool plugin objects requiring user interaction using these procedures or is there another recommended way of creating tools? Most of my experimentation has been developing plugin objects, I want to broaden to tool objects.
  5. Ryan, import vs vs.GetPt(lambda pt: vs.Message(str(pt))). Crashes vectorworks 2017 windows. Adrian
  6. Raymond thanks I've done a lot of those sin , cos gizmos over the years to appreciate their simplicity Thanks Dieter for your solution I'll try both and see what I come up with.
  7. Thanks Dieter for the suggestion. pt is still trapped in the callback function. user_point = None creates the locus at 0,0 even before you have an oppportunity to select your user point. Even if you make user_point a global variable within the callback function which should theoretically change user_point = None it still does not work.
  8. I spent a lot of time trying to get vs.GetPt() to work. I understand the callback function will extract the 2d point e.g def Callback(pt): vs.Locus(pt) vs.Message(pt[0],' ',pt[1]) vs.ReDraw() vs.GetPt(Callback) However I have not found a way to use pt outside the callback function. I can draw the locus using pt inside the callback function but not outside. I really want to create the locus using pt after vs.GetPt(Callback). Any suggestions ?
  9. Thanks for the reply. I figured as much. Is there a way (simple) to use distance angle in python ?
  10. Has anybody tried to use vs.AngleVar(). I tried to convert the example from the function reference into python to no avail.
  11. Alan, I agree with Kevin. For Python, PEP 8 has emerged as the style guide that most projects adhere to. For classes and functions the convention is to use CamelCase for classes and lower_case_with_underscores for functions and methods. For variables, the first character must be one of the letters a through z, A through Z, or an underscore character(_). After the first character you may use the letters a through z or A through Z, the digits 0 through 9, or underscores. Vectorscript has its own set of naming conventions, which I have grown accustomed to. I noticed the practice of using the underscore after the variable being used by vectorworks, hence I just followed a similar practice. However, I definitely have to reconsider its usage in scripts I develop, it is apparent my eye has difficulty detecting its absence leading to very embarrassing errors. I have gone through each node and I believe I have made the necessary changes. I have attached the modified files. Something I should mention especially if you start to code your own scripts. When you use the script editor to write vectorscript scripts and your compile is successful you are generally confident the script will work. However in python, particularly creating nodes, your compile may be successful however your code may still have errors. Thanks again Alan, if you notice any further problems please let me know. Regards Adrian
  12. Allan brought to my attention that two nodes in the 2d Objects category contained typo errors namely RRectangle and RRectangleN Nodes. Attached are the corrected nodes. Regards Adrian
  13. Miguel, Thanks for your feedback. I believe you express the sentiments of most people who have read this post thus far. "Lesson Learnt" I should mention I have also made the Marionette Network Arches available as a free download, both are available in the Resource Share – Marionette section of the forum. Regards Adrian
  14. Thanks Allan for trying out the nodes and pointing out the typo errors. Also thanks Kevin for taking the time to make the fix. If there are anymore problem nodes please let me know. Adrian.
  15. Well that was embarrassing. I was trying to convert an old test script to python and just assumed the function was spelt correctly, I just added vs. to beginning of function. My fault though for not checking the function reference properly. Changed the spelling and things are working okay. Thanks Josh, Adrian
  16. Hello, Does anybody know if the functions; vs.UnDoOff , vs.Redraw, vs.DselectAll work in python and if so how do they work? Adrian
  17. I would like to contribute for free 12 marionette networks. They comprise of 12 architectural arches; Semi-Circle, Segmental, Equilateral, Lancet, Drop, Tudor, Turkish, Rampant, Parabolic, Involuted, Arabic and Ogee Arches. All the networks are parametric, customizable and can be freely modified. Would appreciate your comments, Regards Adrian
  18. Sorry about that Allan, When you extract the zip file you will get a main folder – MarionetteNodesVol1, which contains the subfolders - 2DObjects$, Dimensions$, Utility$ and Worksheets$. You copy the sub folders NOT the main folder into the Marionette folder located in your vectorworks user Library/Defaults folder. On PC look for something like this in your user folder : Vectorworks/2016/Libraries/Defaults/Marionette/ . There is an existing post that may also prove helpful : https://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=218292#Post218292 Regards Adrian
  19. I would like to make available a number of marionette nodes to the community for free which I have been working on. The nodes I have produced are based on the vectorscript function reference with the aim of making a simple conversion to nodes and really just to make a number of building blocks that can be utilized. The nodes are in the categories : Utilities, Dimensions, Worksheets and 2d Objects – 167 in total. You are absolutely free to modify any of the nodes. I would appreciate your comments and feedback. If there is any one node I would encourage you to try out, it is the message node in the Utility category. I have found it very useful to test nodes or to get feedback from a network in progress. Regards Adrian
  20. Marissa, Dieter I would like to thank both of you for your comments and suggestions. As an act of good faith, I have removed the light nodes from Marionette Nodes Vol.1 bringing it down to 167 nodes. I have also removed it for purchase and made it available as a free download. I would still value comments, feedback and suggestions. Best Regards Adrian Hedley thecaddshop
  21. Marissa, Thank you for your comments. I would like to apologize if I offended anybody unnecessarily by offering marionette nodes for monetary value. It really wasn’t my intention to appear as though I’m trying to make a quick buck at the expense of vectorworks users or even the hard work you are engaged in. For years I have been quietly learning to develop vectorworks plug-ins with the view to selling them. At first it was vectorscript, then python was introduced now with the release of 2016 we have marionette networking. Honestly, I don’t see the difference between selling plug-ins developed with vectorscript, python or marionette. Marissa, all things being equal, how much time would it take you to produce 187 nodes and 12 complex networks in the short time that 2016 has been released with limited documentation? If you were to put a cost to that amount of work, in all fairness, what would it be? Marissa most of my time since v2016, as you perhaps can understand ,has been living in vectorworks, vectorworks developer site, python text books, however, sad to say not the community forum. When I registered on the forum to make two posts it was to ask two specific questions I needed answers to before offering the nodes to the public, the nodes had already been completed. Do you understand what I am trying to say? Outside of the forum is there any notice or message indicating or stating that vectorworks intends to release additional nodes, what they are and what those release dates are? All I have been using is what is available in the program when you access the nodes to insert, which in all fairness is really just a sampling. I did notice with sp2 additional nodes were included (interestingly some of those nodes I had carded for vol.2 ), however I did not notice your light nodes that had already been released by you and I did not know they were available on the forum. If I had seen them I definitely would not have included them in Vol.1, I have tried not to duplicate any existing nodes and if I have it may be to add additional features not to gain money under false pretense. You would have also noticed that in my listing, the light nodes are 25-44 which are low end numbers indicating that I had probably already finished those nodes before they were available on the forum. When you replied to one of my posts on the forum I realized that you are working very hard to advance marionette and you have an enthusasim that is very commendable with a lot of items in the pipeline. I really felt a deep sense of accomplishment after completing marionette arches network and marionette nodes vol.1 together with setting up the web site. I also felt as though I had made a significant contribution to the marionette community . I have been a vectorworks user since version 8. The only version I didn’t upgrade to is 2012 which I deeply regret. I look forward to and have enjoyed every single release, I also appreciate the vision and direction vectorworks has taken especially with v2016. Marissa, I have a gift for you, a new node, you stated ; “I would also like to note that the nodes referring to a layer's ambient info/color are misleading. There is no way to set a specific layer's ambient info.” Attached is a network with two nodes one to assign a handle to a layer (Dieter would like this one it’s a little more advanced) to pass it to the SetLayerAmbientInfo Node. If I had known about this problem earlier I could have included it in Vol.1 bringing it to 188 a nicer number than 187. I tried to insert the file however I am told that I can only upload 8kb. I will make it available as a download on www.thecaddshop,net under the free section, sorry about that. Marissa I really want to thank you for your hard work and comments, Best Regards Adrian Hedley thecaddshop
  22. I really appreciate your feedback . When I first started to program, complicated algorithms started to surge through my brain and I wanted to develop a plug-in to end plug-ins. However, I remember reading this piece of advice in the “Customs Solutions Manual” developed by Diehl Graphsoft, Section 4-2 under the subheading “General Guidelines for Plug-ins” “KISS (Keep It Simple, Stupid) If you have a choice between a complex solution and a simple one, chose the simple one when possible” I have tried to live by this advice however at times it has been difficult especially with the introduction of marionette. You are correct, for the most part Marionette Nodes Vol.1 is a translation of vs functions as found in the Function Reference. Some of the nodes in Marionette Nodes Vol.1 are straight forward input – output but others give the user choice through drop down menus or input via OIP control widgets. As necessary, functions have been combined to carry out its intended purpose. The message node allows for multiple messages to be displayed using a delimiter that the user can set via a text OIP control widget, I personally have found this node to be very useful to obtain feedback on a particular network I am testing. Poly has been combined with a drop down menu smooth to allow smoothing options when polygons are created. Why did I embark on this project? While developing the marionette network arches based on code I had originally developed with vectorscript all of my rectangle objects used the “Rect” function not “RectangleN”. Marionette uses the vs.RectangleN function which uses an origin point while vs.Rect uses two points to establish corners, I personally find it much easier to think parametric with the “Rect” function so I had to code a new node to use this function so while the two functions may appear to be the same by name the final rectangle is created by two totally different sets of input parameters. This is also true with RRectangle and RRectangleN, it is possible though to combine the two functions and give the user a choice. I realized (I stand to be corrected) the default marionette content is akin to a sample of its powerful capabilities which will be greatly developed as time goes by. It has tremendous potential and it may well result in “users with no programming experience an interface to program stuff in VW”, I really hope this goal is achieved however at this point I believe choice is a limiting factor. The deeper you delve into marionette the more exciting it becomes especially when you contemplate the combinations of possibilities. With Marionette Nodes Vol.1, I wanted to fill a temporary gap by providing basic nodes which a user can build on which over time can be improved by the user or feedback etc. I do assure you though, advanced and more complicated nodes will follow. Regards Adrian
  23. Hello, I would like to announce a new website thecaddshop , primarily to provide content for Vectorworks users. Available for purchase are; Marionette Nodes Vol.1 This collection of nodes increases the capabilities of Vectorworks 2016 marionette by offering 187 additional Marionette nodes. Nodes are available in the following categories: Lights, Utilities, Dimensions, Worksheets and 2d Objects. Marionette Network Arches Marionette Network Arches contains 10 examples of 3d architectural arches created by marionette nodes to form marionette networks. They demonstrate the creation of marionette networks using basic object subtraction and addition together with trigonometry nodes to add parametric functionality. Arches vary in complexity from simple to advanced and include: Equilateral, Segmental, Involuted, Semi-Circle, Drop, Lancet, Turkish, Parabolic, Tudor, and Rampant Arches. All arches are customizable and can be freely modified. Also available is a FREE section where a visitor can download a number of HDRI Images and a few symbols in vectorworks 2013 format. Please feel free to visit thecaddshop . I would deeply appreciate your comments and feedback. Best Regards, Adrian Hedley thecaddshop
×
×
  • Create New...