gmd Posted November 24 Posted November 24 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 Posted November 24 Posted November 24 Hallo @gmd, @hmclay is an american. Better write to him in English. Kind regards Phrontistes
gmd Posted November 24 Posted November 24 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 Posted November 27 Author Posted November 27 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 Posted November 28 Posted November 28 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 Posted November 28 Posted November 28 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 Posted November 28 Author Posted November 28 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 Posted November 28 Posted November 28 (edited) 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 ... Edited November 28 by Goetz added remarks
hmclay Posted November 30 Author Posted November 30 (edited) 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. Edited November 30 by hmclay BTW .....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now