Label from Component Attributes

Label from Component Attributes

Postby bmike » Thu Jan 29, 2015 3:37 pm

Is there a way to build a text label (custom attribute) from component attributes?

I'd like to create a component that had a 'TimberSize' label as a custom attribute.
This attribute would be 'LenX'x'LenY' - it would report back 8x10 or 7.5x9.5 or 2x4.
Note that I don't care if the 'x' is another character.

Screen Shot 2015-01-29 at 9.38.13 AM.png


I could then make use of the LayOut leader tool to speed up my labeling of timber / framing components.

Screen Shot 2015-01-29 at 9.39.50 AM.png
0
User avatar
bmike 
 

Re: Label from Component Attributes

Postby bmike » Thu Jan 29, 2015 4:08 pm

OK, so I can get this to work if I use the CONCATENTATE fucnction - but if I edit the component and push pull it does not update the field unless I force a component Redraw from the menu.

Any other way to do this?
0
User avatar
bmike 
 

Re: Label from Component Attributes

Postby ithil » Fri Jan 30, 2015 10:23 am

Hi Bmike! Try this script.
Maybe this is what you are looking for.
http://stroyka.in/viewtopic.php?f=4&t=2 ... =15#p38132

primer.jpg


primer2.jpg


Ithil_SizeToName.rar


run: Plugins >> Ithil Tools >> Size To Name
skp2015: Extensions >> Ithil Tools >> Size To Name
0
User avatar
ithil 
PluginStore Author
PluginStore Author
 

Re: Label from Component Attributes

Postby JQL » Fri Jan 30, 2015 10:59 am

Hi Ithil,

This seems a very useful script. You should post a new Topic under Extensions/Plugins thread and submit it to Sketchucation Plugin Store. It's difficult for me to understand the Google translated Russian page but it seems you have a few hidden gems there.

Wouldn't you want to share them here too?
0
User avatar
JQL 
Premium Member
Premium Member
 

Re: Label from Component Attributes

Postby bmike » Mon Feb 02, 2015 2:41 pm

Thanks for the link to the script. What is a RAR file?
0
User avatar
bmike 
 

Re: Label from Component Attributes

Postby TIG » Mon Feb 02, 2015 3:36 pm

bmike wrote:Thanks for the link to the script. What is a RAR file?

A RAR file is a compressed file like a ZIP.
You can uncompress it with many un-compression apps.
Perhaps your regular ZIP/unZIP tool can cope with it ?
Otherwise get an app that can...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Dynamic Components

cron

Who is online

Users browsing this forum: No registered users and 3 guests

Visit our sponsors: