![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Moving/renaming modules with DXL Topic Summary: Created On: 6-May-2004 17:27 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
We are trying to manage modules by renaming and or moving them to another project or folder. Our developer does not find much in the documentation on this.
Anyone have ideas on it? Thanks. ------------------------- Pieter de Waard www.nhindustries.com |
|
![]() |
|
![]() |
|
Hi Pieter.
This is a function I use to copy modules between projects/folders. I think it is not difficult to adapt it to simply move modules. Regards Dirk. --- ------------------------- Dirk Plaschke |
|
![]() |
|
![]() |
|
The "move(item)" command should do it. May look something like this:
string NameModFull = "/OldProject/OldFolder/MyModule" Item itmMod = item(NameModFull) string NameDestFold = "/NewProject/NewFolder" Folder fldNew = folder(NameDestFold) if (null itmMod or null fldNew) { print "Cannot attempt move\n" } else { // attempt to do move string ErrMess = move(itmMod, fldNew) if (!null ErrMess) print "Move Error: " ErrMess "\n" else print "Move OK\n" } // end else attempt to move - Louie |
|
![]() |
|
![]() |
|
Dirk, Louie,
Thanks. Will give it a shot. - Pieter ------------------------- Pieter de Waard www.nhindustries.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Moving/renaming modules with DXL
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.