JeanTurcotte

Custom Label

Recommended Posts

Hi, how can I create custom Label on 3 differents line ?  I would like to have an automatic roof label like the following

 

Pitch: 4:12

Surface area:  xxx sqr ft

Overhang area:  xxx sqr ft

 

Thank's

Share this post


Link to post
Share on other sites

Chief currently only has 1 line available for labels but you can create text label using text macro's in a text block. You may have to create your own macro's for surface and overhang though. There are some people her that could do that  ( Gerry) (Bill).

Share this post


Link to post
Share on other sites

Hi Perry, 

 

I already checked for text macro long time a go and created 1 macro but I was never able to insert "LINE FEED" on macro. Have an Idea ?

Share this post


Link to post
Share on other sites

There are a lot of macro's in the program that you can't use in a text box. Sorry, not my expertise, but maybe those who can are following this thread. I know enough to be dangerous.  Another way to get those numbers you want is to create a simple p-line, outline the area , then open the DBX and it will give you the area of that p-line.

Share this post


Link to post
Share on other sites

This might give you some ideas and maybe more questions. You have to use a reference macro since labels are limited to one line --- another squeaky wheel? The secret to making it look like a label is to put the reference line on a separate layer and turn off that layer. the line will still stay connected.

Share this post


Link to post
Share on other sites

Thanks Gerry, you are the macro pro.

Share this post


Link to post
Share on other sites

Gerry, 

 

When we are using Materiel list from all floor, the result is a list of total roofing surfaces of all roofs. Is there a way to use that variable name in a text macro ? 

Share this post


Link to post
Share on other sites

Short answer is: it’s not easy and deliberately so. Since Chief will not support access to their internal data and is not likely to do so, I don’t recommend it. But a workaround:

You must provide an ID for each object (roof plane) that you want to total the data for. This is because Chief does not permit object IDs (handles in other software). You can only do this by making a macro for each object with a unique ID # assigned within. This means a unique macro for each object (roof plane). You can copy the same macro and just edit the ID field within each then change the macro name. You then copy the referenced data to a Global Storage variable (Hash). Then add up the separate pieces of data from Global memory. It has to be done this way because macro execution cannot be controlled by the user.

IOW – it’s easier to just use the material list.

 

But Attached is a sample plan showing the process.
 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Member Statistics

    27833
    Total Members
    6254
    Most Online
    jaimeducusin
    Newest Member
    jaimeducusin
    Joined