I can think of a couple ways to do this, but my problem lies in finding the appropriate VB commands to execute (this is usually my problem when it comes to writing journal files in Vb).
I currently have a journal file that will set the drafting sheet to display, and then save the file in modeling. The only problem is that sometimes there is a file that does not have a drawing sheet attached, so it throws an error.
If there was a command to check if drawing sheets exist, then I could use it in an if statement.
Or if there is a command that returns the number of drawing sheets in the file, then I can use an if statement to check if the command returns 'zero'...
These are my thoughts, which boils down to knowing the right command.
I still do not quite understand how people find these commands? I have not found a very easy way to search for a certain command.. (other than posting a thread on here, which has always worked great). If it is something simple, I usually record a journal, then cut and past the commands from the "auto code" into a new program in order to manipulate it to do what I want it to.
Can someone share how they learn so many commands? Or is it something that just comes with time, and experience?
Thanks again, and sorry for the double post with multiple questions...
Eric Roe
Electro-Mechanical Engineer
Airfloat LLC