Jump to content

Nik

Member
  • Posts

    68
  • Joined

  • Last visited

Everything posted by Nik

  1. Having trouble getting vectorscript functions that require a vector as parameter to work properly. In the snippet of code below, I think that ang should equal 45°. But the dialog tells me -90° and then I get the error shown in the attached file: pt= [1,1] ang = vs.Vec2Ang(pt) vs.AlrtDialog(ang)
  2. What printer to use, page size for the printer to use. I can set the printable area using the SetDrawingRect.
  3. Is there really no way to change the Page/Printer setup of a sheet layer using VectorScript without resorting to the DoMenuTextByName command? There's gotta be a way!
  4. I'm having issues with importing networks that I've wrapped up as PIO with Control Geometry. If I copy and paste the PIO into the new document it works fine. If I import it as a symbol from a different file, I get the following error(replacing XXX with the name of any wrappers in the network): Traceback (most recent call last): File "", line 1277, in File "", line 614, in RunNode AttributeError: type object 'XXX' has no attribute 'Params' If I rename the wrapper it will sometimes resume working.
  5. It would also be nice to have a comment field for a node. Something that is visible like the Name field but doesn't affect the network at all. I've been using text for commenting but that doesn't get included when wrapping a node.
  6. At the most simple level, I'm looking to create a PIO that changes based on a users selection from a dropdown list. But I don't want to waste processor cycles creating everything and then deleting all but one item, which seems to be the current solution using the If node. It's not a big deal for a simple shape but it slows things down when you have many options and the shapes get more complicated.
  7. I would love a Case node. Ideally something where I can feed it an expression and a list of conditions and then only execute the nodes downstream of the correct output. Using the attached picture of a wrapper as an example. Send it a value on the "expression" input port and a list of possible values on the "conditionlist" input port. If the expression is equal to the first item on the list execute the nodes connected to the exec0 output port. If the expression is equal to the second item on the list execute the nodes connected to the exec1 output port.
  8. When does the link for those of us unable to attend the Webinar get sent out?
  9. I would expect that the marionette network in the attached file "Drawsboth" would draw a circle and not a square, when the boolean is true, but it draws both. In order to draw one and not the other I can do one of the following: 1. Create "If" nodes that evaluates to a "0" if my Bool is true and feed that into radius/height. 2. Invert the logic of the boolean and add a delete node to the output
  10. My issue isn't so much changing an object as it is, adding an object if conditions warrant.
  11. Nik

    Bug Report

    I'll second a "break" button
  12. Nik

    Bug Report

    When using the Range node, if you send it a negative number for count, and ab, Vectorworks locks ups due to the creation of an endless loop. Eventually your computer will run out memory. The node should probably test to make sure this doesn't happen. I replaced the RunNode with the following to check for this: def RunNode(self): def frange(x, y, jump): while x - y <= .000001: yield x x += jump a = self.Params.start.value b = self.Params.stop.value c = self.Params.count.value list = [] if ((c == 0) or (a < b and c < 0) or (a > b and c > 0)): list = [a, b] else: c = (b - a) / c list = [n for n in frange( a, b, c)] self.Params.list.value = list
  13. Thanks! It seems to work if I change my plane to Layer Plane. But very frustrating...
  14. Here are two files with the same Marionette network. It works in one file but not the other. Anyone have thoughts as to why?
  15. The delete option works great as long as you have an object on both the true and false inputs. If you have an object only on one of the input nodes you will get error messages. The marionette will work but you'll get a popup error message when it runs.
  16. How do I add my custom nodes to the node drop down menu? Thanks!
  17. I realize that layer visibility is not the way to control this but having another variable associated with layers would be a great assett.
  18. Or VW could have the option of toggling layers so they never make it to LW in the first place. Much easier! Using limits in this way is a workaround at best. I can very easily see someone printing the paperwork w/o a limit and ending up with over 100 ballets worth of specials!
  19. Unfortunately you can only apply one limit at a time. If we have 20 ballets in repetory for a season I would need to add 20 evaluations to each of my existing limits such as FOH , Booms, Overhead, Movers, etc.
  20. I suspect this is more of a feature request but... I'm currently working for a dance company that has an extensive repetory of ballets. Currently all the specials for a ballet are put on a layer. This allows us to turn layers on and off depending on which ballets are used for a given season. Unfortunately even the units that are on frozen layers export to LW. It would be great if I could tell Vectorworks to not include units on frozen layers in the XML file.
  21. I'm currently using the Bamboo as well. My biggest problem is that there doesn't seem to be anyway to turn of the "momentum" when 2-finger zooming/scrolling. While this is a great feature on the iPhone its a bit aggravating when trying to zoom in just that little bit. It would be great if VW could incorporate the "pinch to zoom" feature. This would also free up two finger swiping for panning, where momentum wouldn't be such an issue. This would also help with consistency across apps. Can't tell you the number of times I've tried to 2-finger zoom in Excel... Three finger saved view switching, or layer changing would be nice. As would two-finger Rotate plan... -Nik
  22. Hey, Vectorworks 2009 is taking forever to update drawings when I change info in the Obj Info Window. I'm talking minutes to change the Circuit Name on half a dozen fixtures. My drawing is linked to an XML file for LW exchange. I'm running Mac Snow Leopard. The show is medium sized about 450 items per LW. Any thoughts?
  23. Hear Hear! At the very least a VW viewer that would let you update info/data in PIOs.
×
×
  • Create New...