Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Select Linkset
Topic Summary: Kitchen script to allow easier linkset selection
Created On: 21-Sep-2005 13:35
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 21-Sep-2005 13:35
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Linkset names are generally too long to be viewed completely in the standard drop-down in a link module.
The attached is an old kitchen script that allows you to view and select linksets.

linkset_select.dxl
linkset_select.dxl  (10 KB)



-------------------------
Tony Goodman
http://www.smartdxl.com

Edited: 26-Oct-2005 at 08:23 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 25-Oct-2005 14:55
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

the link doesnt seem to be working...thanks
Report this to a Moderator Report this to a Moderator
 25-Oct-2005 22:38
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

BTW, I figured out how to put that script (or one like it) into the Link Module as an "addin". It involved setting environment "LinkModAddins" and adding one line to the "link.dxl" file.

- Louie
Report this to a Moderator Report this to a Moderator
 27-Oct-2005 15:39
User is offline View Users Profile Print this message


cliff Bly

Posts: 58
Joined: 11-Apr-2003

Louie
I would be interested in seeing how you set the environment "LinkModAddins".

What I mean to say -- is this a DOORS variable that defines menu items for link modules in the same way as the addins and projectaddins work?

-------------------------
Cliff Bly


Edited: 27-Oct-2005 at 16:31 by cliff Bly
Report this to a Moderator Report this to a Moderator
 27-Oct-2005 16:55
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

First lets take a look at this DXL, which defines the looks of a formal module:
C:\Program Files\Telelogic\DOORS 7.1\lib\dxl\config\formal.dxl

in function createAddinsMenus about line 780 we see this command:
createAddinPathMenus "DOORSADDINS"

"DOORSADDINS" is the to-be-used version of "addins" that is described in the DOORS manual "Summary of command line switches". "addins" can be inserted into the Registry as per section "Settings in the Registry".

So. I invented the term "linkmodaddins". I notice that link.dxl (sibling to formal.dxl above) defines the looks of a link module. I added command createAddinPathMenus DOORSLINKMODADDINS to the "link.dxl" file at the end after command autoRunDXLFolder("lib/dxl/config/linkfiles"). Then I added "linkmodaddins" to the registry. Now my link modules have a menu specifically for link modules.

Other's have presented methods of modifying the link.dxl using "createMenu" and "createItem" commands. The problem is that you have to recode everyone's client when you add a new DXL to the menu. My method requires a one line change to a single DXL whenever you upgrade the client, and changes to the menu are done in Windows file system.

- Louie
Report this to a Moderator Report this to a Moderator
 27-Oct-2005 17:04
User is offline View Users Profile Print this message


Hubertus Grobbel

Posts: 58
Joined: 3-May-2005

Hi Louie,

just want to let you know, that I think you are a total enrichment for the DOORS-community.

Thanks in general at this place and keep on thinking!

Hubertus
Report this to a Moderator Report this to a Moderator
 4-Nov-2005 01:23
User is offline View Users Profile Print this message


Nancy A. Neff

Posts: 1
Joined: 21-Sep-2005

I also cannot get the link to the code Tony posted, to linkset_select.dxl, to work--the standard "page not found" error comes up (and I've tried several times, on different days, etc.). Tony--could you post the code embedded in a message, so it will print when one prints the topic? Thanks much. (By the way, several contributors consistently provide such helpful information, you among them. Thanks very much for your participation and generosity!) --Nancy nneff@sikorsky.com
Report this to a Moderator Report this to a Moderator
 4-Nov-2005 11:09
User is offline View Users Profile Print this message


Karen Hidalgo

Posts: 55
Joined: 4-Nov-2003

I too, am having problems downloading any posted files. I used to be able to download files, but now I get the following error message:

Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.

-------------------------
Karen Hidalgo<BR>Northrop Grumman - TASC<BR>karen.hidalgo@ngc.com
Report this to a Moderator Report this to a Moderator
 19-Dec-2005 13:20
User is offline View Users Profile Print this message


Soft Male

Posts: 3
Joined: 19-Dec-2005

One little question regarding creating new linksets: is it possible to select multiple target modules, so you wont have to click so many times if you want to create linksets?

Edited: 19-Dec-2005 at 13:21 by Soft Male
Report this to a Moderator Report this to a Moderator
 19-Dec-2005 16:11
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

If you are talking about that "linksets" tab in the module's Property sheet; I don't think you can and you have to do all the clicking. These things are called "Linkset pairings" LSPs or "Default Link Modules" DLMs(or "Linkmodule Descriptors LMDs in DXL). "Linksets" are objects in the link module that get created when you actually create your first link.

- Louie
Report this to a Moderator Report this to a Moderator
 20-Dec-2005 14:58
User is offline View Users Profile Print this message


Soft Male

Posts: 3
Joined: 19-Dec-2005

Yes Louie, it's about LSPs. and I was more interested in a DXL script that could do this multiple selection for the target modules.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.