![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Open CP Partner Topic Summary: Created On: 4-Nov-2003 18:50 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Try: print fnGetCPModulePath(fullName current Module) I came across this in DOORS5.2 lib/dxl/project/apiserver/apilibrary.inc. It seems to return the fullName of the CP partner or null if there is none. | |
![]() |
|
Am running DOORS v52. I figured out how to open the CP Partner module from a normal formal module as attached.
Unfortunately, it opens the partner visibly, and the only way to get the Module handle is to ask what's current. Anybody know of a better way to get at the CPS Partner module (if any) of a given fomal module? What I probably want is a function that returns the name; then I can figure out if its a real module and whether or not its open. - Louie |
|
![]() |
|
![]() |
|
Interesting...
I have never seen the fnCPS_OpenPartner() function, is that yours? The only way I can think of at the moment to get the name of a CP partner module is to inspect the linksets in the Change Proposals Links module. Unfortunately this will only work after a CP has been raised: The CPS does not use link module descriptors and the linksets are not created until needed. Alternativley you could inspect the incoming CP links, but this takes time and again, only works if a CP has been raised. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Never mind...
Edited: 5-Nov-2003 at 14:26 by Dennis Lockshine |
|
![]() |
|
![]() |
|
I find quite a few interesting system calls like this by noticing the functionality is already in the natural module menu. In this case, I edited ../lib/dxl/config/formal.dxl (that defines the formal module menu), and looked for "Open CP Partner", which is the text found in >>Tools >> CPS >>... Function fnCPS_OpenPartner is the one executed in the CreateItem() call. Unfortunately, the function itself is in an encrypted include file.
- Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Open CP Partner
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.