Ok, I tried my code. It dosen't work. I'm not sure that PN Allows you to do this. The trick is to find a way around PN.
|
Ok, I tried my code. It dosen't work. I'm not sure that PN Allows you to do this. The trick is to find a way around PN.
I tried it but it didnt seem to change anything, its not using the file path that is specified instead it is prompting and the last drawing opened is the default, if you follow?
Hold on there Mr. Cory, the Calvary is on it's way. I'm starting to think that a macro may not work. But the good news it's that's not the only way to get to what you want. I've asked our Resident ADT guru Mr. Steve Bennett to take a peak when he gets a chance. He may have some good suggestions. Again personally I think this is an issue specific to ADT/ABS and PN. Then again maybe not. I just figure that anything (or sequence) that you can type in with out the dialog box coming up can be made into a marco, but I couldn't get this one to work in plain cad either. I keep getting prompted for the last file that it opened. It won't open it, so I can't seem to get past the path portion.
If you only have one template, just go into options and change the path under template settings, default template for QNEW, to your template location. Then when you need it, just hit the QNEW icon.
Its more if i want to make changes to the template itself, and to my styles drawing
Thats where im stuck,
Hi Dan,Originally Posted by dzatto
Dosen't that just start a new drawing from a template? I think what he wants to do is open the template to edit it. ie He's working on some drawings and thiinks of something that needs to be fixed in his template (becuase he's testing it) and hits the button. Or at least that's my understanding.
Spot on David, sorry i didnt explain it very well
What dzatto said...Originally Posted by dzatto
It seems to me that your are trying to get it to do what it already can do using qnew.
Thanks for the guru reference, but honestly this is out of my relm (making macros that is...) - my understanding is that if a macro works in vanilla acad, then it should work in ADT as well. As far as getting macros to control stuff in PN, good luck and let me know if you find a way.
Oh..... But wouldn't you need to open the template to edit it? When I created my templates, I would just QNEW to open it, make my changes, then save as and pick .dwt from the drop down, pick the template from the list and save it.Originally Posted by david_peterson
Thats another way to do it