Quantcast
Channel: Mentor Graphics Communities : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 1110

Start action after Schematic is opened and displayed

$
0
0

Hi all,

I like to start some action after a project is loaded and schematic is initially displayed.

Unfortunately DxDesigner does enter Sub.

Sub Application_AfterDocumentOpened(VDDT_SCHEMATIC)

....[some statements]...

End Sub

What's wrong here? Any suggestions?

I'm sure there is something stupid with my code since I'm newbie on Automation...

 

 

äääh, yes...

I also tried

Sub Application_ProjectChanged(IProjectData)

...[some code]...

End Sub

That is workling well, but the required:

Set docObj = SchematicSheetDocuments.Open(schemStr, sheetStr)

..to open a schematic sheet, crashes DxDesigner. -> DR

So that's no option for me, unfortunately.


Viewing all articles
Browse latest Browse all 1110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>