Jump to content

RDS Casa

Member
  • Posts

    202
  • Joined

  • Last visited

Posts posted by RDS Casa

  1. Interesting. I got the same problem today. Running bit defender, and VW2020

     

    Feature: Antivirus

    The file C:\Program Files\Vectorworks 2020\Plug-Ins\Plug-In Support.vlb is infected with Gen:Variant.Bulz.14887 and was moved to quarantine. It is recommended that you run a System Scan to make sure your system is clean.

     

    I can restore the plugin files, but is it safe? Does anyone at VW know anything about this? 

    Thanks

     

  2. got it. its not just a value between 0 and 65335, its a list (x,y,z) with the three values EACH between 0 and 65335, and these correspond to the R,G,B value. They don't make this too clear in the description. But it makes sense when you think about it.

     

    And this "non regular" vec3 input node can be used to drive it. 

     

    It works! great. Thanks again again again. 

    • Like 1
  3. Hello, 

    I've discovered those nodes which rely on controlling the attributes of the node itself, to SET the attributes of the process in the network (i.e. the standard "Set attributes" node) do not work when its wrapped and set as a menu command. What does work is using the Set line attribute node

    image.thumb.png.65439131713940e46172c806120548f2.png

     

    Using the Int input to set the RGB colour from [0,65335] - you would think a quick google search might give a way of converting RGB to this index number, I think called a decimal colour.... but no. More difficult than you might think. I've been trying to find a bright green for 20 mins. Any useful colour charts people know! Thanks

  4. Thanks again for the angle node. Feels like I'm getting somewhere. Found this also,

    And following a bit of trial and error with the insets in the coding, got it working I think !. It now pushes the text back into the layer that the ID box is in. Awesome. Thanks so much again for your help. It really has enabled me to progress. 

  5. mmmm. Interesting. 

    Firstly thanks again. I worked out what was happening. I could not have got this far without your help. I found a big cause of my problems - is it a VW bug? or is it common knowledge for marionette? Here is the trick. Took me an ages to work out why yours worked, and mine did not.

    It looks like if you name the ANY node as a number, its stops working?? (or the real node I had before!)  I was calling the input nodes that feed a number in, by the number it was, so I could see what was happening. So...

    image.thumb.png.e68f51a525400a284be30f2f0935b5db.png

    This Works (no names)

    image.thumb.png.e6c9cd43763ba4edb1c7685385f7ceb3.png

    As does this (alpha naming),.... but this...

    image.thumb.png.b590a3d60658665eb24f54160d1645e1.png

     

    does not (numerical naming). Sometimes, as I got close to thinking I was getting there, I would start naming nodes. Then it all stopped working!!!! arghhh. Other networks would run. And I was losing it!!!

     

    Basically, don't call your nodes a number !!!! 

     

    Beyond this, thanks again for your input. This is all a big learning curve. But I'm moving through it. 

     

     

     

  6. Great, Thanks so much.  I've only just seen this reply, sorry, and had got some of the way to resolving it using a few other nodes. This is neater. Thanks.

    However, I then shortly hit another problem. My issue here is I don't understand why its not working, because I think it should? Can anyone advise?

     

    In the attached file is a short network. It is intended to place a text string extracted from a layer name in the centre of polygon. All good so far with great help from m.graf (thanks so much again), but....

    I also need it to rotate the text depending on the orientation of the polygon. So I thought the using the get width, get height nodes, with some simple logic (height>width then push 90 into set text orientation input), which I thought would be easy enough.... but as soon as I attach the rotation part of the network, the script just stops working??? Whats odd is when I use the debug tool, it kind of works.... I run the network without the rotate branch attached, then attach the rotate branch, without re-running the network. When I use the debug, I can see the outputs are correct. All looks good.  However, when I run it again, it stops working completely, and the debug outputs disappear?? what is happening here? is it the get width & get height nodes?? can they not cope with a list of multiple inputs?

     

    I thought I had this.... !!!! darn. 

     

    Thanks all. 

     

    ID script.vwx

  7. Hello, simple one this time I hope? 

    The current text node uses the insertion point based on the current text settings (in terms of vertical/horizontal properties etc). 

    The set text properties node can adapt the a text object, but it does not move the text, it moves the insertion point. How do I blend these together, so I can set the text vert/horizontal properties before its inserted? 

    or is it better to createit, apply properties node, then move it? 

    Basically I need the centre of the text to be inserted in the centre of an object. 

    Thanks

  8. I do have a further general question... how come when I convert the network to a menu command, and run it, it does not work (all objects adopt fill and pen attributes of none?), or if I save as a python script, and run it on another file, it outputs an error, and most of the geometry disappears, bar one object which also has a pen and fill attribute of none? 

     

    I can copy the network between files and run it, but running it from the menu would be best...

     

    Is there another step needed  when "covert to menu command" is used? 

    (its basically exactly as per m.graf's very brilliant network above, but I took out the print debug once it was all working).

     

    Thanks all. 

  9. ah, I have found the "obs by crit" node.... I can see the code in there. but I'm not sure its easy to add a logic input to the selection criteria, as its pulling a standard VW selection command, and I don't think it can have a concatenate type logic forced in it??? if this makes any sense. 

  10. Hello, happy friday.

     

    back into Marionette following time elsewhere.... I need to process a lot of geometry which is coming from other software package, pretty minor process but it still takes time. I thought this would be a simple marionette exercise, but having searched the forum for tips using a few key words, I'm think maybe marionette is not the best process to do this, and I should try scripting it...   

     

    see this for example: 

     

     

    Basically, I need a tool to select everything, then simply assign attributes, based on part of the name of a class. (and this can't be colour by class... the software the geometry then gets pushed to does not recognise this, we already tried, the attributes have to be carried by the object itself)

     

    So, for example.

    >import file with hundreds of polygons.

    >all objects on a layer with string "ABCD" in layer name > set attributes,  pen colour to blue.

     

    That kind of thing. 

    Is this a marionette type problem, or should I be looking into a python script - not a challenge I can do quickly!

     

    Thanks 

  11. Thanks.

     

    and yes, it does pick up polygons who's attribute is by class and the class has a fill of none. 

     

    Actually, I did not even find this fill pattern =  none....  because the fill are all hatches not patterns... so I dismissed this as a selection criteria. I just did not look into it (and under hatch fill, "none" is not an option).

     

    I ended up getting a slightly convoluted process to work using the magic wand tool thing (select similar tool), where fill STYLE is an option, then combining it with class options as you suggest. 

     

    I guess what I'm looking for is a section process where attribute assigned by class (fills or lines to be honest) is a criteria, but they seem to have missed this from the list.

     

    Thanks for the suggestion. 

  12. Hello. Struggling to do something I thought was easy.... what am I doing wrong?

     

    I've long used the custom selection tool to pick objects of a given colour etc. But How do I use it to select all lines that have a fill style of none? 

     

    Fill style does not seem to be a criteria? 

     

    I need to pick out hundreds of polygons which have no fill... but NOT the hundreds that have a fill attribute "by class"? 

     

    Any suggestions. Am I missing something? 

     

    Thanks

  13. Hello, no suggestions on this? 

     

    I have been manually selecting all the lines of a given colour using the magic wand tool, then resigned them the same colour, (but not as a class attributes)

     

    When the CNC software opens the file, the colours come through and it works.

     

    So it is related to the colour by class, not pushing through to the dxf. 

     

    Is an export tick box I've not found? or is there a simple script I can run which takes the class colour and pushes it through to the line/object colour, effectively removing its reference to the class attributes?

     

    Thanks

  14. @JimW

    I don't think so, but there should be. Submitting request now. VE-96335 

     

    I use the publish log as an issue sheet. I just add the recipients to the txt file at the bottom.

     

    In this regard, if the the publish log could not only list the file name, but also bolt on the latest issue number, then at the bottom list of all the issues numbers with dates, recipients and description at the base, it would be very useful.

     

     All the data is there's, just needs pushing through to the text file, and its one less thing to have to do at an issue. 

    • Like 1
  15. Hello,

     

    I have a file I need to process for a CNC CAM package.

     

    There are a lot of lines. object colours are taken from the class attributes. 

     

    However, it appears that when these are exported to dxf, and imported to the CAM software, the line colours to not come through. My first thought is the lines / objects need to carry their colour by individual attributes, not by class.

     

    So, is there an easy way to automate >  inherit colour from class colour, but not be linked to it any more. kind of.... "push class attributes to object attributes"?

     

    Any suggestions appreciated. Thanks. marionette maybe ?

     

    Thanks

     

     

×
×
  • Create New...