Jump to content
Sign in to follow this  
Michael Knoepfle

Database Records

Recommended Posts

Hallo Michael

You can just input more than one object or more than one Field Names. This works good, if you know the field names respectively if you always have the same kind of record format.

If you want to have the field names dynamically (another record with other field names) You need another construct (or node) which generates the field names automatically.

Dom

Share this post


Link to post

Check this out:

A Quick-Modification of the "Get Record Field-Node", which returns a list of Field Names instead the Field Values. So you are able to automatically feed your Field Names.

I hope this was not already part of the native nodes content.

Dom

Edited by DomC

Share this post


Link to post

If we play around with Record Formats and Lists. It can be useful to access external Lists of Data.

I Attached a node, which bases on the python csv standard module. It can import lists as strings (text) or as numbers. It can't mix numbers and strings. Except Header (first Line) can be strings during the rest of the lists are numbers.

It could be used for:

1. Import csv (or tab) separated text files by using an absolute path.

2. Import a csv with the same path and name of the Vectorworks file (for Metadata/Project data like Title Blocks etc.)

3. It puts out rows and lines separately. The used path and rows- and line quantity.

v03:

Popup with Text encoding List. Python Standard is 'utf-8'

Edited by DomC

Share this post


Link to post

Output values are visible, when you click with the second method of the marionette tool on a wire (the "debug" methode). If there is no wire, connect a "Dummy End", which can be found under de "Debug" symbol popup.

Edited by DomC

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...