Creating a Block Annotation Between Parent/Child

Hello!!

Sorry if this question was asked. I created a symmetrical room, I make my first drawing (of my parent room) then my second drawing (of my child room). My question being on this point, I would like to create an automatic block that would indicate the name of the parent part file on the plan of my child part to avoid redoing a new dimension that would make no point. 


parent_enfant.pdf

And put an annotation "Ditto in symmetry"? ^^

1 Like

Not a block that I inserted and that would put my filename of my parent part^^ 

Oh yes that's possible, I'm looking at it

Thank you Bart!! ^^

Thank you Bart!! ^^

Well then, I thought it was simpler than that, then someone else might have a better idea.

I'll insert a view out of the sheet of the parent part, and I'll put an annotation on it by filling in the name of the file, then I delete the arrow.

 

See image.


parent.png

Thank you for your answer bart but that's not what I'm looking for^^

If I understand correctly, you want to retrieve the name of the parent part so that in the workshop, when looking at the child part, they refer to the parent part but in symmetry.

In my image, the parent piece is called the 500x500 sym couverrtine and the child and its symmetry.

In the concept your method works but what I am looking for or rather avoids doing these manipulations to add the view of the parent part (waste of time to mark the parent reference in annotation). So I would like to create a block that would indicate the filename  of the parent part (for tracking in the workshop as you specified in your last comment).

1 Like

Macro simply

Can you detail your macro?

Hello

All you have to do is add an attribute to the parent file containing a field that retrieves the name of the parent file:

1- Open the parent file in the block editor

2- Define the attribute (ATTDEF command)

3- Give a name to the attribute in the "Label" box

4- In the "Default" area, click on the "Insert Field" button

4- Field category = "Document", Field names = "File name". Formatting...

5- Save the "Parent" file

6- In the child drawing, insert the "Parent" block: The name of the parent file is displayed with the block.

A+

 

Edit: Damn! I hadn't seen SW... Sorry:-/