KingChaos
Member-
Posts
393 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Everything posted by KingChaos
-
Favoriten Marionettendübel.vwx
-
HEy Marissa, now it works properly. but i think there is some great potential for fasten it up.Favoriten Marionettendübel.vwx It would be great to have an AI tool, which can transform the spagetthicode of the whole wrapped network into a clean fast code. Do u know, whether there is an opportunity to have such a tool, or a programmer, who can do this for money? The only problem occured, is that the XG cabinet does not copy all the box-object symbols, if i make the cabinet as a preset for other users. Then some symbols are missing, if i use this cabinet as a template. But if i copy the cabinet frm 1 to another file all is running good. There is a dowel and a screw (black symbol), i place with the marionette. This objects are sometimes missing, when placing a new cabinet and morphing it into the sample u see in the file. The marionette is smaller and easier to use that black symbols, but if they are missing, the marionette is not stable, because i moved some stuff and rotate it with lists, the list then have not tthe same length so there are problems, but if i copy the symbols by hand its ok. In general we need some programmer or tool, which can translate the wrapped code into a solid object with parameters. Maybe we wont get this done without me making some SDK school. BG Nils
-
hi there, i made some cool marionette symbol for my interiorcad cabinets. all went good, but after i restartet the computer there are failures occuring f.e. this one dont know why this is happening, all went fine before and i changed nothing in the marionette. some wires are not connected any longer ... i repaired and it worked again. can someone have a look at my spaghetticode and help me finding problems, what cause this wire disconnect?? testkorpus mit marionettenduebeln in RW.vwx
-
Hey @Pat Stanford for me as a nonprogrammer, it is hard to make the code by hand. Is it possible, to convert a marionette network into a code i can use as a script? i found out, that the base class "keine" is the 1. class in the clas order in the document, so i can check, whether class-nr.1 is named "keine", then i can delete 1_keine and all stuff in this class is moving to keine. but when class nr.1 is "1_keine", i have to check, whether class "keine" exists and if yes -> rename "keine" into "keinetemp" then rename 1_keine into "keine" and delete "keinetemp". would it be possible for u to script this, that i can use it as a script or shortvut in my plugins? br nils
-
in general, can i read out, what symbol is visible in my viewport? Else i have to do this all by my hand? i would check, in which row the sketchNr (in this case 01-BL-ET-027-V1) is shown so i can read out the name which is in the same row. i used this code in data stamp to seek after the name of the item, and then looking up, in which field in the WS its located to find the counter/quantity of it. But i dont know, how this differs, if i use it in a script
-
i got such one script here, i needed it to read out the qt. of the parts in the WS to have this quantity shown in a datastamp. The datastamp uses vlookup but no one was able to tell me how to look into subrows of a filtered list
-
yes and in my list the parts are in subrows, because its a filtered list of db attached objects. row 4.1 and 4.2 i cant lookup, so i have to copy this WS into a WS where the subrows are copied in rows, right?
-
i never made a script by my own, so i havew to lookup what my other scripts are looking like
-
but i need no subrows, because vlookup cant look in subrows?
-
as far as i know, vlookup wont work with subrows, so i need a spreadsheet with subrowdata written down in single spreadsheet, this one i got, someone here in this forum made it for me.
-
but i think i am not able to do this, maybe u can help me help myself? my syntax and semantic experience stopped 1992 while programming gw-basic ^^
-
with vlookup it might be possible to extract the right data?
-
-
next step would be, export the different layouts with the red string + greens string in filename. i am failing here often, when i type the pdf-file by hand.
-
hi Nikolay, i am not familiar with such tricks as sdk tools, would be nice, u can help. dont wonder about my phantom-data stamps, i need them, because i cant stamp something what i in the symbol, because your data stamps dont work in symbols. i can contact me per PN if u got somethin. Here is a file with 2 layouts, 2 symbols with data BR Nils from GErmany PS: i got some experience in extreme complicated marionette networks, maybe there is somethin possible but my ability to modify nodes is limited by what open-AI can do for me 🙂 Metallbaukatalog VWX INC.vwx
-
# Modified by MFarrell May 2017 @Marionette.NodeDefinition class Params(metaclass = Marionette.OrderedClass): # APPEARANCE # Name this = Marionette.Node( "Delete Class with Success Output" ) this.SetDescription( 'Deletes the specified class from the active document. If there are objects in the class to be deleted, they are reassigned to the "keine" class' ) # Input Ports string = Marionette.PortIn( "Marionette-Document Structure", 'sName' ) string.SetDescription( "The name of the class to be deleted" ) # Output Ports success = Marionette.PortOut( "Success" ) success.SetDescription( "Boolean indicating whether the class was successfully deleted" ) # BEHAVIOR def RunNode(self): # Inputs name_ = self.Params.string.value # Initialize success flag success_ = False # Script to delete the class try: # Delete the class (this moves all objects to the "keine" class) vs.DelClass(name_) # Now, we check if any objects are still in the deleted class # Use ForEachObject to loop through all objects in the document def check_class(obj): nonlocal success_ # Check if the object is still in the class (if it was moved to "keine") if vs.GetClass(obj) == "keine": success_ = True # If an object is in the "keine" class, deletion was successful return False # Stop searching, since we found that the objects were reassigned return True # Continue searching if no object found in "keine" # Run the check function on every object in the document vs.ForEachObject(check_class, True) except Exception as e: # If there's an error (e.g., class doesn't exist or another issue), success will be False success_ = False print(f"Error: {str(e)}") # Optional: Print error for debugging # Outputs self.Params.success.value = success_ # Set the success output will result in false, even if the class "1_keine" was deleted 🙂
-
chat gpt needs more input i think, how standard classes differ in their structure to normal added classes? is there any possibility to check, whether a class is a std. class or not?
-
not easy, delete class cant give some information back, whether something happened. but is it possible to check, whether the class is deletable? the class "keine" fe is not deletable, because its a basic class. So this will happen, if i delete this "1_keine" class in old documents, where this class was the base and i renamed it.
-
ok, but if i open then by hand, it could be usefull to have some "success" boolen output here, on the delete node, so i can start the script by hand if i open the files all manually. Then i can rename the 1_keine to KeineDummy, keine to 1_keine and delete again with rename KeineDummy to keine. so i am sure, that i only have keine in the file, right? So i may ask "AI chat" again to modify the "delete class" node
-
damn, as i saw the migration tool working, i thought someone will be able to code this in vwx directly. thx a lot
-
HEy, i am asking myself, whether i can fill out some titleblock data with the symbol We are a big german shop interior making company. I am making a catalogue for our metalworkers. I got app. 300 objects we build by ourself. To avoid sketching/layouting all the same stuff for different projects, i made a catalogue list with premade layouts for the parts we need. To have some readable/speaking names with my nomenklatura of the parts its nessesary to have the names of the parts/assemblies in the title block. At this time i fill them manually, but with rising coutn of objects and changes the metallwaorkers need its getting rly complicated to have 0 mistakes in my layouts. So i try to read out this information from the database i attached to the symbols. I got a file here with hundreds of symbols and layouts, but i dont want to fill out the title block symbol by hand. I need to make vwx look into the viewport, and extract datafields into the title block data-texts. So i only need to place the symbol -> put some measures onto maybe som data stamps and then the title block is filled automatically. here is an example. the green text in the title block should be filled with the stuff my datastamp above the stamped object shows. the red drawing number should be allways filled in the red text of the title block. Is there someone, can tell me what to do, to make it like this or similar? BR KC
-
Hi there, maybe this is not the right section of the forum, but i am thinking about a cleaner, which cleans my workgroup library files regarding classes and i am sure someone can move this potic into the correct forum section. as i was a bloody nub in vwx (2019, maybe i am still a noob, but a good one 😛 ), i was pissed of this class structure thing and the alphabetical order of existing classes in a document, so i renamed the class "none" (in german keine) to 1_keine, to have it allways on top in the sorted list of classes. Now this i blocking me from fast working with viewports, because some "old" parts in the libraby including this renamed class, and allways some stuff is missing because of the wrong class, after i removed this "1_" in my sample document. I want to know, how i can make some kind of cleaner (like this migration tools, vwx uses in the case of an vwx update, where vwx opneing all existing files), opens all the vwx and syving them in the actual version of vwx to make the fiels work in the new version? The cleaner has to do something: 1. open all files in the workgroup librabry 2. IF the class "1_keine" is not a delatable class -> deleting "1_keine" with attaching "keine" onto this items. 3. if 1_keine is the non-delatable class, then delete "keine" with attaching "1_keine" onto this items and renaming the class into "keine". (4. some "old classes" i dont want to have now and in the future which are named "eingefuegte Symbole-...." i also want to have deleted and all objects with this should be in "keine" BR KC
-
Shortcut with script for "refresh viewport"
KingChaos replied to KingChaos's topic in General Discussion
ahh ok, now i sdee its working. problem was, u dont see the refreshed viewport. after restarting your plugin i see they are refreshed. dont know why this is buggy in 2025 thx a lot its selecting all unrefreshed and refreshing all but i have to restart your script to make it visible -
Shortcut with script for "refresh viewport"
KingChaos replied to KingChaos's topic in General Discussion
ahh ok, now i sdee its working. problem was, u dont see the refreshed viewport. after restarting your plugin i see they are refreshed. dont know why this is buggy in 2025 thx a lot its selecting all unrefreshed and refreshing all but i have to restart your script to make it visible 2025-07-13 13-45-28.mp4 -
Shortcut with script for "refresh viewport"
KingChaos replied to KingChaos's topic in General Discussion
this is very great but how to make it refresh without clicking the mouse?? think i should read the first response .. 😮 thx all its done i think i try to avoid using the fu** mouse because its slow and not accurate. i am a power user and disklike using the mouse when i can use a shortcut. so i only do shortcuts all the time and get a speed 10 times faster then any other user using the mouse for clicking tools or whatelse.
