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?
Solved! Go to Solution.
Solved by rhesusminus. Go to Solution.
Read it from the WDP-file, or from the scratch database for the active project.
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.
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?
Read it from the WDP-file, or from the scratch database for the active project.