gmd Geschrieben 24. November Geschrieben 24. November Hier eine demo F3B894BE-083C-4BA5-AF2D-47D96E71973F ein generisches script mit vielen function calls, alle script komponenten sind allgemein und werden nur ueber die anfaenglich intialisierten tabellen gesteuert. das sollte die frage eigentlich beantworten denke ich, oder habe ich da etwas uebersehen ? gruss Gmd
Phrontistes Geschrieben 24. November Geschrieben 24. November Hallo @gmd, @hmclay is an american. Better write to him in English. Kind regards Phrontistes
gmd Geschrieben 24. November Geschrieben 24. November 1 minute ago, Phrontistes said: Hallo gmd, hmclay is an american. Better write to him in English. Kind regards Phrontistes Ah ok, sorry, noted.
hmclay Geschrieben 27. November Autor Geschrieben 27. November German replies are OK ... I just use translate to English and it works well. Have a problem only when looking at a 3D Studio programs in German ... takes a lot of analysis ... sometimes I get the idea .... sometimes not. @gmd ... Thanks for the reply, I will look at the program structure to try and determine your methods. Many times I'm trying to do things in 3D Studio that are possible only in script. Currently I'm trying to pass a complete "List" to a user defined event, but I'm only getting the first Item. Now I'm trying in script, but I'm weak on the syntax. V9 has some nice added features. Thanks ............
Phrontistes Geschrieben 28. November Geschrieben 28. November vor einer Stunde schrieb hmclay: and it works well. If you master both languages, you will see that machine translations often make errors that distort the meaning. Example: The German "Anlage" can be a layout, a construction, an attachment or a plant. Quite different things as you can see. Kind regards Phrontistes
Goetz Geschrieben 28. November Geschrieben 28. November vor 8 Stunden schrieb hmclay: Currently I'm trying to pass a complete "List" to a user defined event, but I'm only getting the first Item. If you're prepared to show us how you do it (and how you read that list inside the user defined event), we can point out why you get the wrong result. It should work equally well with the graphical EV or with Lua.
hmclay Geschrieben 28. November Autor Geschrieben 28. November I don't know how to accomplish passing a "complete" list to another event. I'm attaching an example that's most likely incomplete. I have multiple Source and Destinations for a crane. Would like to pass the appropriate list (based on whatever) from the Main Program to a common Crane Routine. Any help will be appreciated. I have writers block on this ... have tried several methods ... none worked. Thanks .... User Defined - Passing List.mbp
Goetz Geschrieben 28. November Geschrieben 28. November (bearbeitet) To pass on the entire list, please use Variable instead: Variable (list/table) is for a single item from a list only, (as the field "Index" below the variable name suggests.) A variable can hold (the address of) anything: a boolean a string a number an object a list or table a module or event ... Bearbeitet 28. November von Goetz added remarks
hmclay Geschrieben 30. November Autor Geschrieben 30. November (bearbeitet) Thanks for the help and the complete description of the matter. It would have taken me quite awhile to stumble onto that solution, for I was looking at a variable to be a single item . Most likely because when a list of options is displayed, it has variable , list and tables, as separate identities. Your explanation was very helpful ... the routine is now working very well .... Thank You BTY ... I have been struggling with that, off and on, for quite some time. Bearbeitet 30. November von hmclay BTW .....
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren
Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen.
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden