r/EPlan • • 26d ago

Function Definition help.

Hello all.

I'm new to using EPlan. We are going to be switching soon at work. My boss has used it before, but only for a few projects. He told me how he creates symbol macros, but it isn't working for me and neither one of us are sure why.

We have the part set up in parts management, and we have the connection points listed in the Function Definition window.

The way I'm doing it now, is I create the block as a dynamic symbol, then EPlan pops up each connection point I need to land.

I place them all in the block where I need them to be, then I group the symbol together save it as a macro.

When I go to insert the macro into a drawing, all of the connection points populate randomly. As in no in the order I placed them in.

Why would this be happening?

1 Upvotes

14 comments sorted by

2

u/Flimsy-Process230 26d ago

When you save the macro it becomes a file on your hard drive. You can then go into Parts Management, find the component and assign that macro file to it. That way EPLAN knows which graphical representation to use when you insert the part. Have you done that? Also, when you say “dynamic symbol” what do you mean by Dynamic symbol? I’m trying to understand exactly how you’re creating the symbol and its connection points.

1

u/Virtual_Atmosphere59 25d ago

Black box. Sorry. I insert a black box, link it to the part, and then I just land the connection points that it gives me. Then I group it and create a macro. Then I go to the part in the management window and add that macro to the part and then insert the part. But when I insert it, the connection points change.

1

u/hestoelena 26d ago

Name the connection points the same as the names in your part function. They will populate correctly then.

1

u/Virtual_Atmosphere59 25d ago

After I insert a black box and link it to the part, the connection points automatically pop up to be inserted. I insert them all as they pop up, and then move them into place and align the text how I want it.

1

u/hestoelena 25d ago

When you make your black box, do not link it to the part. Manually add connection points and change their designation to match the part you are making it for. If you want to link it to your part after this, then you can. Linking it to your part will allow you to see how the specific information for that part will display. Then make your macro and go into the parts database and link it it to your part.

From my understanding, the reason this happens is because when you make a macro, it strips all the part information out of the black box and returns everything to default. The only way for it to retain the connection point designations is if you manually set them. I have not found a work around to make it easier unfortunately.

1

u/Virtual_Atmosphere59 25d ago

Okay so that works if I insert on the same drawing that I made the macro with. If I go to another drawing and insert it, it changes the connection point descriptions upon insert.

This is during insert.

1

u/hestoelena 25d ago

That is very interesting and I've never seen that before. It's probably worth contacting eplan about that. It may be a bug

1

u/Virtual_Atmosphere59 25d ago

This is some of the function template properties of the part.

1

u/hestoelena 25d ago

I know where the labels are coming from. I'm saying I've never seen it switch the label location when used in different projects. That might be a bug and it's worth contacting eplan about

1

u/Virtual_Atmosphere59 25d ago

I didn't mean to imply that you didn't know. Was just seeing if you would notice anything that might be wrong. I think what Piratedan200 suggested below worked though. I'll have to test some more to confirm.

1

u/Virtual_Atmosphere59 25d ago

After insert. If you notice, IOD-4A changes to IOD-4B and IOD-5A changes to IOD-10B.

1

u/Piratedan200 25d ago

I was just fighting this issue! My connection points in my macro matched my function definition perfectly and everything, and I was pulling my hair out trying to get it to work.

What it ended up being was that in the numbering format I was using, "Device connection points" was checked. So it inserted with the correct connection point designations, but then the automatic numbering ran and re-numbered them. Turning off that checkbox fixed it.

1

u/Virtual_Atmosphere59 25d ago

I'll give this a try. Thanks.

1

u/D4Gi85 26d ago

It can also be easier/faster to make the symbol first with all connection points/functions you need, give the part the part number, then right click it and «create part». This way the part is created with all the function definitions in the parts management

Either way you should create your macros in a Macro project