Macro not working properly with leader.


wjmdes
 Share

Recommended Posts

I use a simple macro for commercial as-builts to describe room info for clients  (the ceiling height macro is from Joe):

 

%room.name%

%room.dimensions%

%room.ceiling.finish.name% @ %ceiling_Height_Label%±

%room.floor.finish.name% FLOORING

Since I started using X13, if the label does not fit, I use a leader line, it appears to gather the ceiling height info from the room the block is in rather than where it is pointing to.  I have been doing it this way for years.  The ceiling height is supposed to be 9', but it is getting its data from the room the block is in.

 

Hoping someone has a solution...

Link to comment
Share on other sites

  On 7/18/2021 at 9:13 PM, wjmdes said:

I use a simple macro for commercial as-builts to describe room info for clients  (the ceiling height macro is from Joe):

 

%room.name%

%room.dimensions%

%room.ceiling.finish.name% @ %ceiling_Height_Label%±

%room.floor.finish.name% FLOORING

Since I started using X13, if the label does not fit, I use a leader line, it appears to gather the ceiling height info from the room the block is in rather than where it is pointing to.  I have been doing it this way for years.  The ceiling height is supposed to be 9', but it is getting its data from the room the block is in.

 

Hoping someone has a solution...

Expand  

 

How are you "snapping" the leader-line to the Room?

 

Does the Block need   UN-Blocking to work?

 

M.

Link to comment
Share on other sites

  On 7/19/2021 at 1:16 AM, Dermot said:

As far as I can tell, the built in macros work just fine.  Probably best to talk with Joe about this.

Expand  

 

Ugghhh.   I put up this post and did NOT add the image to show what it is doing.

 

1429284368_clghts.thumb.JPG.48af8af7d10d93197a1c1a41463cc0eb.JPG

 

The "room label" I created works when placed in the room.  When it is not in the room, it uses the ceiling height value from the room I have it located in.  I will ask Joe...

 

 

Link to comment
Share on other sites

  On 7/21/2021 at 6:18 PM, wjmdes said:

 

Ugghhh.   I put up this post and did NOT add the image to show what it is doing.

 

1429284368_clghts.thumb.JPG.48af8af7d10d93197a1c1a41463cc0eb.JPG

 

The "room label" I created works when placed in the room.  When it is not in the room, it uses the ceiling height value from the room I have it located in.  I will ask Joe...

 

 

Expand  

AFAIK, the macros need to be a Referenced Object for arrows to work, not an Owner Object

Link to comment
Share on other sites

By the way, there are other things you can do as well such as connecting the leader to another object IN that room but it should actually work without doing that.  If I simply copy and paste the text from your original post into one of my plans and then connect that text box to a room with an arrow, I get the information for the neighboring room, not the room that the text box is sitting in.  Dermot showed the same thing in his example. 

Link to comment
Share on other sites

  On 7/21/2021 at 10:58 PM, Alaskan_Son said:

If I simply copy and paste the text from your original post into one of my plans and then connect that text box to a room with an arrow, I get the information for the neighboring room, not the room that the text box is sitting in. 

Expand  

 

There is another confusing statement.....   Maybe you have a magic copy and paste ?

 

Bill's posted example also pulls the data from the neighboring room.  The problem is Joe's %ceiling_Height_Label% macro does not work the way the global macro's do.  I did not see a copy of Joe's macro posted.

 

image.thumb.png.ecb9e5c7a04604d54f3cb2bca96c5b6a.png

Link to comment
Share on other sites

  On 7/21/2021 at 11:56 PM, Chopsaw said:

 

There is another confusing statement.....   Maybe you have a magic copy and paste ?

 

Bill's posted example also pulls the data from the neighboring room.  The problem is Joe's %ceiling_Height_Label% macro does not work the way the global macro's do.  I did not see a copy of Joe's macro posted.

 

image.thumb.png.ecb9e5c7a04604d54f3cb2bca96c5b6a.png

Expand  


Oh, I see.  I must have misread the first time around.  I didn’t realize that it was only Joe’s macro.  That would obviously depend on how the macro was written.  I would try connecting it to another object in the neighboring room through.  Another blank text box might even do the trick.  

Link to comment
Share on other sites

  On 7/21/2021 at 11:56 PM, Chopsaw said:

I did not see a copy of Joe's macro posted.

Expand  

I posted a plan before for help and it had Joes macro in it and I was politely asked not to post his macros he sells by a third party.....

 

BTW, it was clear to me when I wrote it :) 

Link to comment
Share on other sites

  On 7/23/2021 at 6:16 PM, wjmdes said:
  On 7/21/2021 at 11:56 PM, Chopsaw said:

I did not see a copy of Joe's macro posted.

Expand  

I posted a plan before for help and it had Joes macro in it and I was politely asked not to post his macros he sells by a third party.....

Expand  

 

Sorry I was not requesting that...   I know the rules.   It just seemed that Michael had a copy based on his comments that he later retracted.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share