![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Copy Views with DXL Topic Summary: Copy Views with embedded Filters & layout DXL in columns Created On: 19-Jan-2005 18:41 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I found a bit of code that works perfectly! Thanks to the author Michael Sutherland from Galactic Solutions Group, LLC! | |
![]() |
|
I'm looking for a utility that can copy views from one module to another where all the associated infrastructure necessary to completely build the copied view can be copied as well.
Back in 'the day' the "Kitchen Sink" tools included one such view copier that is no longer functional due to the migration of DOORS thrhough various iterations. I have included the old Kitchen Sink view copier with all the previously called includes wrapped into the code itself. If anyone has something like this, I would appreciate it! |
|
![]() |
|
![]() |
|
Here you go.....
The script will copy every attribute (and type) which is required in the view, but does not copy any attributes which are referenced by any embedded attribute DXL. This is easily spotted as the view will generate a DXL error highlighting any missing attributes when selected for display. Also, the script removes default (inherited) access rights for any copied attributes and sets up specific access rights - you might want to check this fits in with your schema and edit accordingly. Any problems just email me. Roy. MTU Aero Engines Munich roy-david.bond@muc.mtu.de |
|
![]() |
|
![]() |
|
I found a bit of code that works perfectly! Thanks to the author Michael Sutherland from Galactic Solutions Group, LLC!
|
|
![]() |
|
![]() |
|
Joshua,
I'm glad you found the code useful. The "Attach Code" box seems to have cut off the end of the code. The full version is available at the downloads area of our web site. ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
|
![]() |
|
wow this tool is amazing
thanks a lot |
|
![]() |
|
![]() |
|
Well, this script is pretty nice...
...i thought: we're using DOORS 8.1 here, and the script worked perfectly, but it produced attributes that are read-only for everyone. I don't know why, but perhaps you should try it in a safe environment where you can delete the module afterwards...
Regards,
Gerhard Schneider
HOOD Group
|
|
![]() |
|
![]() |
|
Has anyone found a workaround for copying the window sizeand position settings yet? I'm still banging my head on the tanle with this one .
Thanks
Andrew.
------------------------- Andrew Tagg Thales Air Systems, Melbourne Australia. andrew.tagg@thalesatm.com |
|
![]() |
|
![]() |
|
Hi Andrew,
You need to use the viewDef function to get a handle to the full definition of a view (which includes the current settings for Window Size and Position). Once you have the view definition handle it can be used as the basis for a new view or to change any of the property settings for the current view. View definitions can be found in the DXL reference manual under the "Display Control" section (at least that's where it is in the DOORS 7.1 DXL manual). ------------------------- Paul Miller Specification Practices Specialist, EuroCyber, Melbourne, Australia. Mobile: +61 (0)418 135 103 Web Site: http://www.eurocyber.biz E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Copy Views with DXL
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.