The following works for macro files stored in a DB. DesignName = p:\Protel\Data Base Files\macros\Macros.DDB | DocumentName = Documents\MACROS\cls_prj.bas
> -----Original Message----- > From: Linden Doyle [mailto:[EMAIL PROTECTED]] > Sent: Friday, 5 April 2002 11:22 AM > To: PEDA > Subject: [PEDA] Pathnames for files within DDBs > > > Greetings all, > > Does anyone know how to specify the path name of a file > that lives inside a DDB? Is it even possible? > > I want to create a custom button in schematic that sets > the template to the company's standard drawing (titleblock, etc.) > > The template lives in a DDB on a network drive. While I > can navigate to it using the Set Template item in the Design > menu I would like something a little more automated. > > The help file for the ChangeCurrentTemplate process shows > how to set an ordinary path and filename within the > parameters but not a DDB. One workaround would be to export > the files from the DDB and use them as stand alone files but > the DDB keeps them all together in one place. > > Any ideas? > > > Thanks and Best Regards, > > LINDEN DOYLE > Product Development Engineer > Zener Electric Pty Ltd > > [EMAIL PROTECTED] > Ph: +61 2 9795 3600 > Fax: +61 2 9795 3611 > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/[email protected] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
