![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Project Level Addins Topic Summary: Created On: 9-Oct-2006 19:29 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Line [createAddinPathMenus "DOORSPROJECTADDINS"] should already be in your 'project.dxl' file, and that's how it works without any effort on your part. There was some discussion (by me) on inserting a similar line in the 'link.dxl' to get a pile of link-module-only scripts to appear in open link-modules. Anyway, if you can make this work for formal modules using 'addins' you can make it work for DB explorer using 'projectaddins'. My ProjectAddins points to folder c:\Doors-Stuff\DXL-v7\Project. That 'Project' folder has two files [1] project.hlp. I'm not sure if the content in that matters, but its existence does matter. [2] project.idx containing the single line [Project-Scripts P _ Project-Scripts] (again content is questionable but the file must exist. [3] The 'Project' folder also has a folder named Project-Scripts (the same one mentioned in the IDX). That sub-folder 'Project-Scripts' has a Project-Scripts.hlp and Project-Scripts.idx files. The other files for me are sub-folders but it may contain the DXL files themselves. Yes, there is one extra level of folders than would be intuitive. That's to allow me to create two menus in the same project folder. Without changing my ProjectAddins variable, if I put a second folder sibling to Project-Addins then I get a 2nd menu. DXL files must have a single comment and a block comment near the top of the file. I don't know how near the top but mine all have the at the top like this: // PrintTOD.dxl - Display time of Day /* PrintTOD.dxl displays the time of the Day, specifically the TOD of the current client computer */ infoBox(dateOf(intOf(today)) // ---- end file MyScriptName.dxl ---- Summarizing: each recognized folder must have two files therein, each file has the exact same name as the folder, one is type .hlp the other type .idx. - Louie | |
![]() |
|
I am trying to add a menu of addins at the project level and don't seem to be having much success.
I have tried using the -projectaddins switch at the command line with no luck. I was reading through some old forum posts and there is a discussion of using the project.dxl file and "createAddinPathMenus "DOORSPROJECTADDINS"" I need some guidance. Thanks in advanced. Heather. ------------------------- Heather Linsk Lead Engineer General Dynamics AIS 413-494-7095 |
|
![]() |
|
![]() |
|
For a demo do the following:
Copy your current addins folder to c:\project\ then add this command line switch -J "c:\project\addins" |
|
![]() |
|
![]() |
|
Line [createAddinPathMenus "DOORSPROJECTADDINS"] should already be in your 'project.dxl' file, and that's how it works without any effort on your part. There was some discussion (by me) on inserting a similar line in the 'link.dxl' to get a pile of link-module-only scripts to appear in open link-modules.
Anyway, if you can make this work for formal modules using 'addins' you can make it work for DB explorer using 'projectaddins'. My ProjectAddins points to folder c:\Doors-Stuff\DXL-v7\Project. That 'Project' folder has two files [1] project.hlp. I'm not sure if the content in that matters, but its existence does matter. [2] project.idx containing the single line [Project-Scripts P _ Project-Scripts] (again content is questionable but the file must exist. [3] The 'Project' folder also has a folder named Project-Scripts (the same one mentioned in the IDX). That sub-folder 'Project-Scripts' has a Project-Scripts.hlp and Project-Scripts.idx files. The other files for me are sub-folders but it may contain the DXL files themselves. Yes, there is one extra level of folders than would be intuitive. That's to allow me to create two menus in the same project folder. Without changing my ProjectAddins variable, if I put a second folder sibling to Project-Addins then I get a 2nd menu. DXL files must have a single comment and a block comment near the top of the file. I don't know how near the top but mine all have the at the top like this: // PrintTOD.dxl - Display time of Day /* PrintTOD.dxl displays the time of the Day, specifically the TOD of the current client computer */ infoBox(dateOf(intOf(today)) // ---- end file MyScriptName.dxl ---- Summarizing: each recognized folder must have two files therein, each file has the exact same name as the folder, one is type .hlp the other type .idx. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Project Level Addins
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.