AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cable from/to report with extras

3 REPLIES 3
Reply
Message 1 of 4
rhesusminus
207 Views, 3 Replies

Cable from/to report with extras

Hello.

We order "custom" cables from a supplier, and these cables are of different
lengths, and and have different connectors on the end of them.
In my circuit diagrams, I draw 2 connectors, draw a line between them, and
insert a cablemarker on the line.
When I run the cable from/to report now, I get:

Cabletag, CableCatalogNumber, Connector1Tag and Connector2Tag.

However.. I need some more info to send this order... I need the cable
length, and I neeed catalog info for the connectors, not the tag.
Can't seem to find these field in the standard report, so i guess i'll need
some custom programming.

What I would need in this report is:

Cabletag, CableCatalogNumber, CableLength, Connector1CatalogNumber &
Connector2CatalogNumber

Where should I start?

THL

Trond Hasse Lie
AutoCAD Electrical and EPLAN expert
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: rhesusminus

If you weren't going to write a report from scratch I think this would have
to be a combination of a user post, user defined attributes, with some
database query API calls used to add the data that is not in the report.

For the cable Length I think you wouild need to add an attribute to the
cable marker symbol that you could use to enter in the length. You should
add it to the library symbol itself and then could use the swap block to get
this attribute on existing drawings. Then if you define this attribute as a
user-defined attribute it will show up in the Available fields when you go
in to Change Report Format from the report.

To get the catalog inforamtion for teh connectors you would have to use the
user post with some API database calls. You would use the values in the
dwgix1, dwgix2, and cmphdl1 and cmphdl2 fields to pull out the correct
catalog inforamtion for each connected component.

Let me see if I can get a user post started that would do this. What version
of AcadE are you using?

Pat Murnen


wrote in message news:5746444@discussion.autodesk.com...
Hello.

We order "custom" cables from a supplier, and these cables are of different
lengths, and and have different connectors on the end of them.
In my circuit diagrams, I draw 2 connectors, draw a line between them, and
insert a cablemarker on the line.
When I run the cable from/to report now, I get:

Cabletag, CableCatalogNumber, Connector1Tag and Connector2Tag.

However.. I need some more info to send this order... I need the cable
length, and I neeed catalog info for the connectors, not the tag.
Can't seem to find these field in the standard report, so i guess i'll need
some custom programming.

What I would need in this report is:

Cabletag, CableCatalogNumber, CableLength, Connector1CatalogNumber &
Connector2CatalogNumber

Where should I start?

THL
Message 3 of 4
rhesusminus
in reply to: rhesusminus

Thanks Pat.

But I'll use the functions you gave me in antoher topic to read directly
from the project database. I'm gonna make myself a API (a VB.NET Class
COM/ActiveX component) that reads this database, so that I can read this
information from other applications than AutoCAD itself.
I'm gonna make lots of custom report the following years.... (As I work at
an Autodesk reseller in Norway)

THL

Trond Hasse Lie
AutoCAD Electrical and EPLAN expert
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 4 of 4
Anonymous
in reply to: rhesusminus

Ok. Let me know if you need any more information about reading the project
database.

Pat Murnen

wrote in message news:5750039@discussion.autodesk.com...
Thanks Pat.

But I'll use the functions you gave me in antoher topic to read directly
from the project database. I'm gonna make myself a API (a VB.NET Class
COM/ActiveX component) that reads this database, so that I can read this
information from other applications than AutoCAD itself.
I'm gonna make lots of custom report the following years.... (As I work at
an Autodesk reseller in Norway)

THL

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost