Jump to content
Zum Start hinzufügen

Weitere Informationen

3D-Modellbahn Studio

Eine Vollbild-App auf Ihrem Startbildschirm mit Push-Benachrichtigungen und mehr.

So installieren Sie diese App auf iOS und iPadOS
  1. Tippen Sie auf das Teilen-Symbol in Safari
  2. Scrollen Sie durch das Menü und tippen Sie auf Zum Startbildschirm hinzufügen.
  3. Tippen Sie oben rechts auf Hinzufügen.
So installieren Sie diese App auf Android
  1. Tippen Sie auf das 3-Punkte-Menü (⋮) in der oberen rechten Ecke des Browsers.
  2. Tippen Sie auf Zum Startbildschirm hinzufügen oder App installieren.
  3. Bestätigen Sie durch Tippen auf Installieren.

Empfohlene Beiträge

Geschrieben

Screenshot2024-11-23094104.thumb.jpg.15e8d14ed146268e4bd574d88d082d2b.jpg

Geschrieben

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

 

Geschrieben

Hallo @gmd,

@hmclay is an american. Better write to him in English.

Kind regards

Phrontistes

Geschrieben
1 minute ago, Phrontistes said:

Hallo gmd,

hmclay is an american. Better write to him in English.

Kind regards

Phrontistes

Ah ok, sorry, noted.

Geschrieben
  • Autor

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 ............

Geschrieben
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

Geschrieben
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.

Geschrieben
  • Autor

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

Geschrieben

To pass on the entire list, please use Variable instead:

Variable.jpg.15d16d7d82fc57ff9e3ce4604a916bcd.jpg

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 von Goetz
added remarks

Geschrieben
  • Autor

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 von hmclay
BTW .....

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Push-Benachrichtigungen konfigurieren

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.