Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Attributes default

21 REPLIES 21
Reply
Message 1 of 22
Stemdriller
2141 Views, 21 Replies

Attributes default

 

Hi all

 

I have just added all my attributes to the main template, but the default for the attributes is four dashed lines ----

so if the attribute has data it puts it in, but if it does not it just uses these dashed lines and I cannot seem to remove them. I don't want to make them invisible and don't particualaly want to have to use code, but I have never come accross this before and I am hoping there is a simple answer to this.

 

I have attached a screenshot.

 

Hope someone can help

 

Regards

 

Gareth

 

 

 

 

21 REPLIES 21
Message 21 of 22
Charles_Shade
in reply to: jggerth1

Populating the Source with %% will result in the Field being Blank (not showing the four dashes).

Nice.

Message 22 of 22
matt.whittred
in reply to: Stemdriller


@Stemdriller wrote:

Hi all

 

Thanks for all your input over this topic.

 

I managed to sort it by using vb.net in the end. The dashes represent NULL, so initially the dashes are present but managed to code it so 'OnActivate' if property is NULL then changed to " " which got rid of the dashes, if there was data then it simply entered the data.

 

Job Done

 

Thanks again

 

GW




 

Hi GW,

I realise this is an old post, however I am hoping you can help.

 

You have nailed the exact problem I am having right now (Updating AutoCAD Properties from Vault.

Is there any chance you could post the VB.net script you used to fix the problem?

 

Thanks in advance, Matt.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost