Martin Crawford

Member
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Martin Crawford

  • Rank
    Greenhorn
  1. I have a script that create the base panels, and a second that create the color. I have added to the color and order that incorporates the different patterns that I would need. Give all this, how do I draw a line from center point to center given a list of X,Y values? II'm thinking a custom node that takes the list and loops through to creates the line. Does that make sense. Martin
  2. In the attached file one of the Sequence Node is creating 2x the amount of data that it should. If I enter a 5, I get 10 items in the list. Can you someone check and see if the issue is unique to my computer or a problem with the specific node. I was able to delete the node, add it back and get things to work correcly. However, I am now nervous on how a node could not work correctly. This makes me concerned about the stability and viability of Marionette for production critical use. How can I tell why it's not working? Thanks Martin Sequence_Node.vwx
  3. For some reason my drawing borders have arrows that just showed up. Any thoughts on how to fix? I have attached a screen shot demonstrating the issue. Thanks Martin
  4. THANKS! Maybe I should rethink how I approach the problem. I'm thinking three sets of scripts. The first draws the base screen and assigns the ID number. The second creates the color (and lines) and updates the symbol record with the correct data. These would be rectangles the same size as the symbol. The third would be the lines and circuit data for power. I am attaching the script to create the screen, it works except for assigning a name to the rectangle. The rectangle act as a bonding box and I use it for calculating the Sq/m area as well as the resolution of the screen. I also need to get the symbols on the correct layer and class. I am assuming this is easy? I am still working on the color, I have something that sorta of works, I just need to work out a few details. I need to create a list of colors (actually two lists, depending on product), each list would either 12 or 8 pairs of colors. What is the best way to create a list of colors that I can access from the OIP? I agree, baby steps is the best approach. Thanks VER_LED_Install_-_Marionette_Scripts.vwx
  5. I have a question in viewports and layers. is it possible to create viewport and sheetlayers from a Marioette script? I have a need to create a bunch of objects, group them together, create a view port, then assign to a sheet layer. If so, would it then be possible to add annotations to the viewport, specifically dimensions. Thanks Martin
  6. I'm not sure if this is something that is best done using Marionette, a script or a plugin, hopefully someone can help. Attached is a screen shot of a drawing with a pixel dimension. I would like to create a tool that will automatically create this for me. I would like to be able to select two point and input, or better select a symbol, and have the script draw the dimension and calculate the pixel value. Is this possible and if so what is the best approach. Thanks
  7. Hi Is it possible to have a Marionette script that pops-up a custom dialog box so I can get input for running a script. I can't really use the OIP as I need to select a the objects, get input, then assign data to the objects. I have attached a few screen shots, The no color or the starting point, the color is the ending point and the last one is the different patterns used to connect everything togehter. The main object is a symbol and the colors are rectangles (I wish a symbol created on none class would inherit that attributes of the class it is on). The arrows attachement are the different way of connecting things together. So I would like to be able to draw the main screen, highlight a section and run a marionette script via a menu command that will add color, arrows and update records. I think I can manage all of those elements, however to work I need to input 4-5 bit of data. For example, the Processor number, port number, starting ID number and the arrow connecting pattern (also a few other details that attach to a record used for reporting). How much of this can be done with a native Marionette script vs a custom node. I don't see an easy way for the patterns in native Marionette and suspect this portion will need to be a script. Thanks! Martin
  8. Hi Is it possible to have a Marionette script that pops-up a custom dialog box so I can get input for running a script. I can't really use the OIP as I need to select a the objects, get input, then assign data to the objects. I have attached a few screen shots, The no color or the starting point, the color is the ending point and the last one is the different patterns used to connect everything togehter. The main object is a symbol and the colors are rectangles (I wish a symbol created on none class would inherit that attributes of the class it is on). The arrows attachement are the different way of connecting things together. So I would like to be able to draw the main screen, highlight a section and run a marionette script via a menu command that will add color, arrows and update records. I think I can manage all of those elements, however to work I need to input 4-5 bit of data. For example, the Processor number, port number, starting ID number and the arrow connecting pattern (also a few other details that attach to a record used for reporting). How much of this can be done with a native Marionette script vs a custom node. I don't see an easy way for the patterns in native Marionette and suspect this portion will need to be a script. Thanks! Martin
  9. Thanks! This is now working very nicely! Martin
  10. The network is meant to run as a menu command, so I could select a section of the panels and auto-number. Sorry, I forgot that detail. What I would like is to not limit the selection to just the one symbol. Thanks
  11. Thanks I fixed a number of issue and have it working. I would like to figure out a better way to filter so I only get symbols in the selection. Any thoughts? Martin Autonumber_ID.vwx
  12. I am working on my first Marionette network to renumber an record attached to a symbol. The network works somewhat correctly. I have two issues that I can't seem to figure out. The first is I have to subtract 2 from the start sequence to get the starting correct. My guess is I don't really need to subtract 2 to get things working and this is a band-aid. Second, is the number are not always connective. On my computer when I run the attached script , the last few symbols have the incorrect numbers. Depending on the file I run this on, I get different results. When I was creating the network, instead of running from a menu, I set the selection to s='Prime - 2.4N' (the name of the symbol) and everything worked correctly. I thought I could simply change the selection to sel = true, convert to a menu and all would be good. One thought I had was adding a node to filter any items I selected that are not symbols, however I was unable to figure out how to do that. Is there a way to select, then filter only symbols, or better only symbols that have a record attached with ID as a field? (I'm not sure this is really required, as I'm not sure the root issue with the network). Not every node is used in this script, however it will grow to accomodate different numbering methods. Left-Right, Top-Bottom, Right-Left, Top-Bottom, etc. That is why I have the mul nodes on the XY values.. Thanks Autonumber_ID.vwx