Jump to content
Boh

Data tag question

Recommended Posts

Is there a way to auto assign a data tag to a specific class on insertion? You can do this for other symbols but I can’t see how to do that for data tag styles (or any other styled objects for that matter).

 

For example I have made some custom sanitary fixture tags that I would like to automatically go on to the sanitary fixture class.

Share this post


Link to post

Hello @Boh,

 

As far as I know I do not think that this is possible at the moment. You could change the class to which the new object will be assigned by changing the active class, but I suppose this is not what you are looking for.

 

Best Regards,

Nikolay Zhelyazkov

  • Like 1

Share this post


Link to post

It would be helpful. However, if you are concerned about visibility and object class attributes, then it is perfectly possible to class the data tag contents...... That seems to work well for everything I can think of....

  • Like 2

Share this post


Link to post

Thanks Nikolay and Mark. I thought of those options however neither are ideal. I always keep the none class as the active class and if possible I try to keep objects inside symbols on the noneclass too..

 

Some more data tag questions however!

 

1, Is it possible to reassign an extg tag in a drawing to a different object? Rather than going back to the data tag tool and searching for the right tag in the RM I would simply like to duplicate an extg tag then attach it to a different object.

 

2.

If I try to attach a tag to an object that doesn’t have the right record format VW will sometimes ask if I want to attach the record  to the object and sometimes it just says I can’t attach the tag. Why is this?
 

3.

Is it possible for a worksheet to list only symbols that have a data tag attached? The scenario is I have a whole bunch of equipment symbols in a drawing. The symbols all have an ‘equipment’ record format attached. However on my sheet I want the equipment worksheet legend to list only the equipment symbols that have an ID data tag attached. I don’t want to reclass untagged symbols or detach records from them if possible. Ideally as soon as a symbol is tagged it will appear in the worksheet. 
 

4.

Are the style/instance parameter settings for “use leader line” buggy? I find the tags often still have a leader line when the use leader line option is unchecked and set to by instance.


Edit:

Additional question:

I can tag symbols with a tag that increments the tag number in order as the tags are added. However I then want to create a legend worksheet of the tagged symbols. The worksheet needs to show the tag number however how do I do this?  The schedule lists record info about the symbols however the tag number is not actually part of the symbol....

 

Thanks for any responses!

 

 

Edited by Boh

Share this post


Link to post

Hello @Boh,

 

1) Yes, if the other object meets the requirements to be tagged with the Data Tag tool you should be able to duplicate an existing Data Tag and dag the object using the control point.

 

2) It depends on the Data Tag's formula. If the record format is not the main formula, for example you have IFC or PIO formula too, then the record will be attached.

 

3) I do not think that this is possible for now. You could try making a worksheet with the Data Tags and filtering them by their style.

 

4) Could you send a test file showing this issue? I was not able to reproduce it with simple tests.

 

5) Again, there is no way to extract information for Data Tags from their tagged objects. However, if your worksheet is for Data Tags, you could use the DataTagField formula, which should get the job done for you.

 

Best Regards,
Nikolay Zhelyazkov

  • Like 1

Share this post


Link to post

Thanks Nikolay. That has cleared up a few things for me!

 

I have figured out #4. This is a bit confusing and certainly not very intuituve. If the style settings for "Use Leader line" are set to by instance and unchecked this will be overridden if the data tag tool settings in the mode bar have "Use Leader Line" checked and vica versa. In other words it seems that if the style parameter is set by instance it doesn't matter if "Use Leader Line" is checked or not as it will just be set to whatever the default setting is in the data tag tool settings. I guess this is true for all style parameters set to by instance.

 

For #3 & #5, I made a worksheet with criteria by data tag but couldn't figure out how to use the "DataTagField" formula you mentioned to get the field records for the tagged objects. Could you please explain a bit more?

 

Share this post


Link to post

@Boh, Yes, this is the correct behavior of by instance parameters. When creating new object with style, it gets its values from the style, if they are set to by style, otherwise it gets the default parameters set in the preferences.

 

About the DataTagField, simply put =DataTagField('<TextObjectValueFromTheLayoutHere>') in a database row and you should get the value of the formula of this text from the data tag. Note that the text value of the field is case sensitive, so you have to put the exact value. Example file attached.

DataTagField example.vwx

  • Like 1

Share this post


Link to post

OK thanks again Nikolay. I see how that works now. Still not quite what I'm after however...

 

To get all the tagged objects record info via the tag's DataTagField then each record field would have to have it's own text in the actual tag. I was hoping to be able to add simple single text self incrementing ID tags to objects such as lights and use a worksheet as a legend listing all the info about the lights with the tag ID number.

 

Also is the DataTagField formula new to vw2020 as I couldn't get this to work on 2019?

Edited by Boh

Share this post


Link to post

I think you can do what you want, you just have to put the text into the tag definition in a hidden location. Either use a font color that matches the background, put it behind another filled object, or set the font size to something like 0.1 point so it it not noticeable. 

 

The second and third options will make it harder to remember how to edit it later but may be the best approach.

Share this post


Link to post

Thanks Pat. I did think of doing something like that but probably not worth it just to get incrementing tag numbers. I guess I was hoping that there was some setting I missed. It would be a good feature so that datatags could work with worksheets like keynote callouts work with keynote legends.

Share this post


Link to post

Hello Nikolay,

 

is it possible to format real values?

Example: active units is meters. I wish to display certain values in cm, with precision 0.00

It constantly takes the document units, and there seems to be no precision setting available.

 

We are using data tags also as labels for the Spaces. This allows us to edit the Spaces without selecting them. It is a huge speed improvement.

Again, here too we need to coerce precision and units.

 

We really need some units formatting for Data Tags.

  • Like 2

Share this post


Link to post

Hello @_c_,

 

If you are using real field value in the Data Tag formula you should be able to select the units and precision you want it to be displayed with. Keep in mind that the field of the object should be real. There are some objects that have for example length that is a text field.

 

изображение.png

 

Best Regards,

Nikolay Zhelyazkov

 

 

  • Like 1

Share this post


Link to post

Nice! Nikolay, this is VW 2020? Is it usable for all Plug-ins?

I was trying to read values from some of the HVAC ones and they are stubborn.

Share this post


Link to post
Just now, _c_ said:

Nice! Nikolay, this is VW 2020? Is it usable for all Plug-ins?

I was trying to read values from some of the HVAC ones and they are stubborn.

- Yes, this is VW2020. As I mentioned, the HVAC fields might not be real on the inside, but texts. Then this will not work.

  • Like 1

Share this post


Link to post

My favourite feature on my favourite tool so far!

I'll consider switching to VW 2020, then, for those projects not using the Callouts!

  • Like 2

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.


 

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