wire from/to tables and special breaks

wire from/to tables and special breaks

Anonymous
Not applicable
2,528 Views
12 Replies
Message 1 of 13

wire from/to tables and special breaks

Anonymous
Not applicable

Hi all,

I am trying to implement special breaks for my wire from to tables however it would appear its not a function in autocad.  I use AutoCad to generate electrical harness and my supplier requires the from to tables separated as per the images shown.  Is there a way I can have autocad electrical separate tables based on the wire LOC1 code?

 

Or is there another table format I could use to achieve the same goal? Similar to a wire run list in inventor how multiple tables are generated at once.  

Thank you

0 Likes
2,529 Views
12 Replies
Replies (12)
Message 2 of 13

alds02
Collaborator
Collaborator

In the Report Format Setup, I see there are a bunch of User Post options. Now, I haven't got the faintest idea how to write one of these, but if you do, I wonder if the "Report only selected INST values" could be modified to do what you want.

0 Likes
Message 3 of 13

Anonymous
Not applicable

Hi Alds,

 

Ive had a look and the User post is helpful but that changes the appearance of the post before the next window.  I require something to slip the tables when it goes onto the page the same as special breaks would.

Thanks for the suggestion though.   

0 Likes
Message 4 of 13

Anonymous
Not applicable

@rhesusminus  Hi Mate,

 

I have found a few posts where you discuss something similar to what I am trying to achieve but I have not yet found the answer would you be able to point me in the same direction?

Is there any reason that the wire from to does not have the special breaks function like the other reports?

Thanks.  

0 Likes
Message 5 of 13

rhesusminus
Mentor
Mentor
It seems to me like a User Post would be the way to go.
You've sorted on LOC1 and PIN1, and when LOC1 changes, you should add a break?

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 6 of 13

Anonymous
Not applicable

That is exactly what I need, it seemed to me as though the user post only modified before putting on drawing though.  If this carries through thats fine.  Do you know if there are any worthy examples of modifying user posts to add breaks as I am also not overly fluent in code. 

Thank you for your time. 

0 Likes
Message 7 of 13

rhesusminus
Mentor
Mentor

Hmm... It will "massage" the output, before you press the "Put on drawing" button.
It can be incorporated into automatic reports as well.

Well.. Studying the existing User Post examples would be the best way to go unfortunately....


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 8 of 13

Anonymous
Not applicable

Okay, Ill have to take a longer look at user posts.  Do you know why the wire from to does not have the special breaks function as the other reports do?

Thanks.  

0 Likes
Message 9 of 13

rhesusminus
Mentor
Mentor
I don't know why they haven't implemented that. You could, for example, sort on wire type, and break when the wire type changes.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 10 of 13

JeffatPrimex
Collaborator
Collaborator

Another option would be to export all to Excel then cut and paste each part into separate sheets and use the Insert Spreadsheet data to table feature. And make sure to pick insert new non update-able table after the first table and remaining tables.

JeffatPrimex_0-1591182746451.png

 

 

Best regards

Jeff

0 Likes
Message 11 of 13

Anonymous
Not applicable

Hi Jeff,

 

I have actually done this in the past and depending on the number of tables, sometimes takes longer, but its faster for larger jobs. 

0 Likes
Message 12 of 13

Anonymous
Not applicable

Hi Trond,

 

I have not had any luck with this as I cant find an exapmle of a user post that implements breaks. I have looks at the AutoCAD example that come with the Wirefrm2.lisp file and several of leeMacs works.  I still have not had any luck.  Do you know of an exmaple of a user post that can either break table based on location code or break table based on column cells, i.e. if row of column 1 chnages data new table. 

Thank you in advance. 

 

regards,

John

@rhesusminus 

0 Likes
Message 13 of 13

rhesusminus
Mentor
Mentor
So, I've spent too much time looking into this. You're right. I'm wrong.
The breaks is not part of the raw data the report generator works with.

So, the easiest way to automate this would be using Jeffs go through Excel option I think.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes