Jump to content

Olaf Pfeifer

  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About Olaf Pfeifer

  • Rank

Personal Information

  • Occupation
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Update: There is a 'RESET' Node by DomC that also does the Trick of updating a Marionette Object after it's Parameters have been changed. He uses it with the "Set Marionette OIP field" node. I could see how the "RunScript" Worksheet function would be able to trigger that in theory, but I don't see how to prevent that from happening each time a worksheet is updated, which then in turn would trigger all the marionettes to update, which takes too long. I ended up NOT implementing it, mainly because parameters read from the record fields regardless of the variable type come in as Strings, sometimes even with units, and first have to be converted to numbers by means of complicated string operations ... too much for me.
  2. Hi, I just ran into that problem, too. @DomC Is there any news on the issue, or can you elaborate on the above workaround ? I'm afraid I don't understand how a new field would regenerate the popup ...
  3. Thank you for offering, Marissa! It looks like the "scale" operation (with a vector of (1;1) does the trick to reset (=update) my marionette objects and can be applied to them selected by criteria (other than "move", which won't work). If I only knew how to run such a marionette script from the worksheet ... can I ? Maybe even to a single database row handle?
  4. I would like my marionette object node to read parameters from a database record (instead of OIP input parameters). However, it will not update instantaneously when I change the database record via worksheet (database row) or 'data' tab of the OIP. What are my options to 'bump' it, besides moving it ?
  5. If a marionette object node reads parameters from a database record (instead of OIP input parameters), it will not update instantaneously when I change the database record via worksheet (database row) or 'data' tab of the OIP. What are my options to 'bump' it, besides moving it ?
  6. Let's say I create a parametric Door Symbol with Marionette, that has about a dozen parameters for the sash profile, most of which are typical to certain sash types. Then I would like to create a style "steel sash, shadow grove" that I can apply to fix the appropriate parameters. Is that possible?
  7. The Application Help says Plug-In-Styles can (only) be created for Objects that have support for Styles enabled by the Developer. (How) can I support Styles for my own Marionette Object's Parameters?
  8. I know this post is old, but seems VERY useful – I am another one looking for the symbol insert node ... could you repost your collection?
  9. Thank you, Marissa! Is "Parent PIO" the same as "GetParent" ? I can only find the latter in my marionette library ...
  10. Hi, sorry, but I cannot find out how to write my marionette object's parameters into database records (or worksheet cells), which was my reason to create them – can someone point me in the right direction? I wasn't able to find example scripts ... My objective is to create a door schedule that uses simple, 2D, self-made, non-IFC door symbols with data stamps, to be placed on 2D-drawings (draftsperson does not use walls, just lines). Most parameters will be strictly database records that never appear on the drawing, but WIDTH, WALL THICKNESS, and OPENING DIRECTION (L/R) should be 'hard-wired', i.e. taken from the plan, in order to avoid common mistakes. My first approach was to calculate opening WIDTH and wall thickness from the bounding box of the door symbol/group. This works fine, but only as long as the wall layout is strictly cartesian and the doors are not rotated or mirrored. Also, we would like to use door symbols that are larger than the opening width (including frames etc.), so we would no longer be able to calculate the width from the bounding box, wich seems to be all a worksheet can access. Or is there a way to access data from objects INSIDE a group that is listed on a worksheet? So I created a marionette object that draws the door opening based on parameters, because I expected it would be easy to access those parameters from a worksheet or to write them to an attached database record ... but I find that task surprisingly difficult. Am I missing something? So far, my marionette network, run as a wrapper, can draw a door based on two parameters OPENING WIDTH and WALL THICKNESS, and attempts to attach a pre-defined database record to that object, where it correctly fills the fields for wall thickness and opening width. However, the result is a simple group (not a PIO, so it cannot be manipulated by parameter later), and it is nested twice in otherwise empty groups, unnecessarily. If I convert the wrapper into an object node, it becomes the expected parametric plug-in-object that I can modify later, but it does not attach a database record to itself or writes its data to a record that I attach manually. What am I doing wrong? test door database.vwx this is what the door symbol plus tags should look like this is my marionette object node (so far, without tags, but okay ... if it only wrote to the database !!!
  11. Hm, can anybody explain how the 'scale to' options exactly work when formatting worksheet image cells? For me, only autoscale works, otherwise I end up with something like a single vertical line for all objects that are symbols (the top 4 rows). Groups (the bottom 3 examples) seem to be rendered correctly. Looks like a bug to me, in that x-scale isn't computed correctly for symbols, only y-scale. I use VW2019 SP2 (MACOS) int/en. And I should mention that all objects are 2D-drawings in plan view.
  12. Thanks for letting us know, Kostadin Ivanov! On a side note, what are those hidden Text fields good for anyway? Data records seem much more useful ...
  13. Well done, Anna! However, I found the task of detaching the pre-defined data tags from their "eligible" record formats very difficult. I could not even reproduce your way to do it. I wish there was a way to simply "detach" the record format / object type from the tags just as you can detach record formats from other drawing objects. Instead, as a workaround, I ended up starting with a data tag that has *NO* pre-defined record format, which is the simple "NumberStamp". If you add more text fields to this one, you can select 'record format' as their source inside the "edit style" > "edit tag layout" > "use dynamic text" dialog. Afterwards, the tag displays the question mark that indicates that it isn't yet attached to any eligible object. I was then able to drag the question mark to any object with my record format attached and it works.


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