Jump to content
Developer Wiki and Function Reference Links ×

database driven parametric modules


KingChaos

Recommended Posts

hi there,

 

i want to use db records to control "with marionette placed objects" (cabinets)

I got all working fine and well without db usage as objects.

 

the problem here is, that its too complicated to extend the functions and so on.

 

To make the strands getting data out of the polygonobject i made f.e. named Lines, which i can call in the strandobject and with "get length" i can get some values into the strand out of the polygon.

 

This is not elegant and fast i think and not easy to manage.

 

Now i want to make the red symbols getting placed in the strand filled up with the record fieldvalues of the polygonmaking network.

to drive the values with a table, where i have a list of all polygons and their values to manipulate the cells in the table so a refresh of the strand will adapt to the values i changed in the table.

 

what i know and i can do is:

 

1. create a db (cabinetstring 1) with all the fields i need (height, depth ...).

2. make a network, generating polygons, and attaching in the end to the parent the db "cabinetstring 1"

 a) wrap it

 b) object it

3. make a network placing red symbols (cabinets) along the poly as a strand.

 a) wrap it

 b) object it

4. move the polygon and changing the strand cabinets will move it to the maatrix of the polygon.

 

 

unclear is, on what object i must "attach the cabinetstring 1" when (where in the marionette) i have to set the values and how to get the values out of it in the strand object.

 

if i try to attach the "cabinetstring 1" db to the "plugin object" (cabinet) BUT its nor working.

 

 

my approach for now is, the db is attached to the objectnode of the polygons, and in the strand object i can call it and grab the values.

 

But what if a wanna have 2 (or more) polygons and strands in one file.

 

the file is crashing vwx sometimes, if i have it as an object node trying to copy and paste it  crash

or enter the network from the object node and leave it - crash

 

 

in this file the red line represents the polygonobject with db entry (teal and organe field) which i may manipuilate

 

image.thumb.png.6ab2198d88620539898e82bdf4199535.png

 

its working, that the values going into the cabinet.

 

br KC

 

 

The strand object

Strangmoebel Vertrieb V7 NUR objekt mit DB.vwx

Link to comment

How to use the value in the default db in the field depth fielsname"Gesamttiefe" into the polygons object node?

 

i will attach the record at the end of my network, is this a problem?

 

from which object in an empty file, i can get the values of the raw database preset for depth?

 

i make a rectangle behind the polygon as a positionhelper when u place the marionette object next to a wall (wall plugin). This rectangle has height and the value there should be "Gesamttiefe" from the record.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...