Jump to content

Gregi

Member
  • Posts

    54
  • Joined

  • Last visited

Reputation

16 Good

Personal Information

  • Location
    Switzerland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm really thankfull to this post! I'm doing a lot of try and error, but it works pretty fine! 🙂 I guess, a simple open and close the Editing-Window in the PlugIn Manager is working as well..
  2. Is there a way to replace the code inside a Marionette node? I have a lot of self-made nodes and they are used in several Marionette-Objects. Now, I made some changes ("updates") and would like the put them to all those nodes. Any other way instead of open the Objects and replace the code manually would be great... Great thank to any idea 🙂
  3. i do have the same problem. I have a lot of Marionette-Objects, saved as red symbols. Since I installed VW2021 i have a huge load of issues and VW crashes. If i want to reconstruct this, VW2020 crashes to. demotivating any idea? some changes in python?
  4. Is there any way to create a function like "SectionSolid" in the function reference to do what i like? Who is able to implement those functions? or is it already there but just not on the reference page?
  5. Hi @Tbai I think this is what you need? In my test it returns true, if the PSet was connectet and false, if it wasn't 2021-01-13_Del IFC Property Set_gim.vwx
  6. Those are greate Nodes, but as soon as I want to use them in an Marionette Object its no longer working 😞 Is there any workaround?
  7. Is this what you are looking for? I do not work with the IFC-Data-thing, but think it should work. 2021-01-09_Del IFC Entity_gim.vwx
  8. Oops, I should have searched in the Gallery too... Thanks!
  9. Hi everybody I have some Marionette-PIOs saved as "red" Symbols. I would like to import them to another more complex Marionette PIO and change some Parameters. Is there a way to get the Parameters like the custom objects? How do i get the Handles to my parameters?
  10. Version 1.0.0

    15 downloads

    It got struggled by using one "tool" to subtract from more than one Objects. This Node is fixing it. You can use Solid Boolean V3 in situations, where you want to use the same hObj2 ("tool") for more than just one boolean. It creates a copy of the Object and deletes it at the end of network ("vs.Marionette_DisposeObj()")
  11. It works when i put my code in a "Button-Node" an run as the button script, then the PIO is still there 🙂
  12. Hi everybody I would like to create a Symbol definition as a copy of the Objects in a PIO. I made a node which is working if testing as a network or a wrapper. But as soon as i put it in my PIO, the PIO will go away, but i have the symbol. Any ideas? and the code of my "Create Symbol"-Node: #gim 2020-12-24 #Revised 12/21/15 MFarrell #Modified by MFarrell May 2017 @Marionette.NodeDefinition class Params(metaclass = Marionette.OrderedClass): #APPEARANCE #Name this = Marionette.Node( "Create Symbol" ) this.SetDescription( "Fügt ein Symbol im gewünschten Ordner ein" ) #Input Ports sym = Marionette.PortIn( '', 'sName' ) ordner = Marionette.PortIn( '', 'sOrdner') sym.SetDescription( "Name of symbol." ) obj = Marionette.PortIn(vs.Handle(0), 'hObjs') # p = Marionette.PortIn( (0,0), 'p' ) # p.SetDescription( "Coordinates of symbol insertion point." ) # angle = Marionette.PortIn( 0, 'nAngle' ) # angle.SetDescription( "Rotation angle of symbol, in degrees." ) #OIP Controls #Output Ports h = Marionette.PortOut() # h.SetDescription('Handle to Symbol object') #BEHAVIOR # this.SetLinksObjects() this.SetListAbsorb() def RunNode(self): #inputs sym = self.Params.sym.value[0] ordner = self.Params.ordner.value[0] obj = self.Params.obj.value if type(obj) != list: obj = [obj] #script vs.SetOriginAbsolute(0, 0) vs.BeginSym(sym) for x in obj: objn = vs.CreateDuplicateObject(x, None) vs.Marionette_Dispose(x) vs.EndSym() symbol = vs.LNewObj() #wenn noch nicht vorhanden, Ordner erstellen if ordner != '': if vs.GetObject(ordner) == None: vs.NameObject(ordner) vs.BeginFolder() vs.EndFolder() place = vs.GetObject(ordner) vs.InsertSymbolInFolder(place, symbol) #outputs self.Params.h.value = h
  13. Thanks to @m.graf, this works great. I made an example: I just took the original "set layer" node end changed the Layer OIP-Control to an Input-Control. If you put this to your end of network (in Wrapper) it works great! 2020-12-24_ungroupatend_gim.vwx
  14. Ooops, did'nt testing this situation... Sorry, no solution (yet). Maybe I got a good idea while sleeping 🙂
  15. I got kind of success: With this Tool: vs.DoMenuTextByName('Solid Operations', 4) its doing what i want to do. Even since the index "4" isnt listet in the appendix. Im not sure if its not in the internal version? But it opens a window and asks for user input. Is there a way to skip this input? I could control all the needs in marionette before (its only about direction of NURBS and fore- or background ob objects to select which one will cut the other...
×
×
  • Create New...