Jump to content

Tag reference to material custom fields


Recommended Posts

Posted (edited)

Hi all and vectorworks team,

@Nikolay Zhelyazkov 

 

Firstly, latest update to tags was great! the bug that existing in graphic legends and tags where text was greater than 4.5 inches in width no longer disrupts spacing conditions between multiple dynamic text fields!!! Either way, thank you for that !!!!!!!!!!!! I will follow up with some discoveries regarding this a little later on...however I did want to ask :

 

As requested in this resource, was the ability to reference custom records in materials by any chance added? (see forum discussion at the bottom)

 

The reason I ask is because i can modify the custom record in a worksheet just fine using the record.field option when listing materials in the document - and it is freely modifiable!!!

Since the ability to create WS function in tags, how would I now add custom record for component 1, or component 2 that has a record 'custom record','custom field' attached to it?

 

What I've tried so far :

 

#WS_MatpropertybyName(ComponentMaterial(1),'Custom record.custom field')#

#WS_ObjectData(ComponentMaterial(1),'Custom Record','Custom Field')#

#WS_MaterialProperty(ComponentMaterial(1),'Customrecord','CustomField)#

 


 

 

Edited by Samuel Derenboim
Link to comment
  • Vectorworks, Inc Employee

Hello @Samuel Derenboim,

 

If you were able to get this done in a worksheet you should be able to just copy the formula from the worksheet and paste it in the data tag like this "#WS_<worksheet formula here>#" and then it should work the same way as in the worksheet.

 

Let me know if this is not the case.

 

Best Regards,

Nikolay Zhelyazkov

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