Stefan B. Posted March 5 Share Posted March 5 Hey, I'm very new to marionette and have made my first Marionette Object / Symbol/Plug-In object. The marionette inserts two symbols and has a handle for adjusting one of the symbol positions in the Z axis. This symbol was and is to replace a scaffolding part, and in the future, I want marionettes for several objects and replace the "original" symbol with the marionette object. Scaffolding parts have a record name "Scaffold Record" attached, while I'm able to attach this record to the symbols I insert, I cannot see the record at any point. Is it possible to have a record or more attached to a Marionette object and have it show in the resource manager, and when I select the object in a drawing? Quote Link to comment
Marionette Maven Marissa Farrell Posted March 5 Marionette Maven Share Posted March 5 Hi Stefan! I'm attaching a simple file that I hope may help, but I also may be misunderstanding your question since you haven't provided a file to work from. Please let me know if this helps, or if I need to go in a different direction. In this file, there is a circle Marionette Object that attaches the record within the network to the circle using the Marionette Object node (which returns the handle to the Marionette object) Creating a symbol of this Marionette Object creates a Marionette Object Style (which can be found in the folder of the same name within the Resource Manager. The resource shows the attached record in the RM window. MarionetteCircleSymWithRecord.vwx Quote Link to comment
Stefan B. Posted March 6 Author Share Posted March 6 Hello Marissa, Thank you for your reply. Sorry for not attaching a file. I thought I would explain myself well enough. While I see your script working, I cannot make the same script work on my symbol. Does it have anything to do with my red text symbol and yours being white/black? I'm able to attach the record so it is visible in the OIP when I select the placed symbol, but it is not visible in the RM window when the symbol is selected. I also register that you used marionette to attach the record, but it actually is possible to attach the record the normal way but this is not possible for my symbol. marionette-record.vwx Quote Link to comment
Antonio Landsberger Posted March 6 Share Posted March 6 On 3/5/2024 at 12:10 PM, Stefan B. said: Scaffolding parts have a record name "Scaffold Record" attached, while I'm able to attach this record to the symbols I insert, I cannot see the record at any point. Attaching the record formats to the symbols inside the Marionette Object will make it impossible to see in the OIP, unless you create a new record format that is only attached to the Marionette Object (see Marissa's reply) and shows the values from the fields of the record formats attached to the symbols, but also writes back changes you made in the OIP. An alternative could be to use a worksheet to read and write these otherwise hidden record formats. Quote Link to comment
Marionette Maven Marissa Farrell Posted March 7 Marionette Maven Share Posted March 7 On 3/6/2024 at 4:42 AM, Stefan B. said: Does it have anything to do with my red text symbol and yours being white/black? This shouldn't matter, my first test was with a black symbol that I later converted to red. I'll make a note to look into this in a bit. Quote Link to comment
Stefan B. Posted March 11 Author Share Posted March 11 On 3/7/2024 at 5:26 PM, Marissa Farrell said: This shouldn't matter, my first test was with a black symbol that I later converted to red. I'll make a note to look into this in a bit. Thank you Marissa! Quote Link to comment
DavidF Posted September 26 Share Posted September 26 Hi! This thread was incredibly helpful! Thank you very much for your help! I encountered a later problem with my Marionette object. If the object is updated due to, for example, a changed scale on the layer, I do not want the record's field value to be automatically updated if a different value has been entered manually. How can I achieve this? Quote Link to comment
Recommended Posts
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.