JeanTurcotte Posted March 8, 2014 Share Posted March 8, 2014 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 Link to comment Share on other sites More sharing options...
DRAWZILLA Posted March 8, 2014 Share Posted March 8, 2014 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). Link to comment Share on other sites More sharing options...
JeanTurcotte Posted March 8, 2014 Author Share Posted March 8, 2014 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 ? Link to comment Share on other sites More sharing options...
DRAWZILLA Posted March 8, 2014 Share Posted March 8, 2014 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. Link to comment Share on other sites More sharing options...
Solution GerryT Posted March 8, 2014 Solution Share Posted March 8, 2014 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. Link to comment Share on other sites More sharing options...
DRAWZILLA Posted March 8, 2014 Share Posted March 8, 2014 Thanks Gerry, you are the macro pro. Link to comment Share on other sites More sharing options...
JeanTurcotte Posted March 10, 2014 Author Share Posted March 10, 2014 Thank's Gerry, Your example will be very userful for me. Some hours of fun... Link to comment Share on other sites More sharing options...
JeanTurcotte Posted March 10, 2014 Author Share Posted March 10, 2014 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 ? Link to comment Share on other sites More sharing options...
GerryT Posted March 10, 2014 Share Posted March 10, 2014 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now