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: 

Drawing List

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
kani_mca
864 Views, 5 Replies

Drawing List

I want to get all Drawings list of Active Project in Autocad electrical using vb.net?

Can we get?How?

 

 

Dim docs As DocumentCollection = Application.Preferences

For i As Integer = 0 To docs.Count - 1
 Dim doc As Document = docs(i)
Debug.Print(doc.Name)
Next

 

Iam using above code,but i get only one drawing name..

How should i get all drawings from Active Project? and I also want to Drawing Description for that Drawing using vb.net...

 

Please help how can i get?

 

 

 

Tags (1)
5 REPLIES 5
Message 2 of 6
rhesusminus
in reply to: kani_mca

Read it from the WDP-file, or from the scratch database for the active project.

 


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 3 of 6
kani_mca
in reply to: rhesusminus

Thank you sir,

 

 

Can we add extra Connections to PLC Symbol using .net?

Message 4 of 6
rhesusminus
in reply to: kani_mca

Yes, you can.

 

If you have a look at how the PLC symbols are built, you see that all the information needed for a connection point in ANY symbol is based oin attributes.

 

Via .NET you can add/remove all the attributes needed.

 


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 5 of 6
kani_mca
in reply to: rhesusminus

If we want to create a line,we will need start point and end point only..

No other types of lines,

 

But if we want to add/modify PLC symbol,We should write code for every individual PLC,isn't?

Because, So many types of PLC symbols are there in AutocadE..the Connections are also Different for different PLC?

 

I want to add extra connections to PLC symbol using one form?but i cant able to create it..

 

I have created PLC as same as the AcadE's PLC symbol..Is anyway to Create it from a single form?

 

Can you understand my Query?

 

 

Message 6 of 6
ldiiwahabi
in reply to: kani_mca

Read it from the WDP-file, or from the scratch database for the active project.

 


THL
Please select "Accept As Solution" if this post answers your question. Kudos don't hurt either. 😉

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

Post to forums  

Autodesk Design & Make Report

”Boost