Macro to rename shared view

Macro to rename shared view

jiri.brany
Observer Observer
830 Views
3 Replies
Message 1 of 4

Macro to rename shared view

jiri.brany
Observer
Observer

Hi. I need help with macro for shared views that renaming view with path directory name.

Thanks.

Výstřižek01.JPG

 

0 Likes
Accepted solutions (1)
831 Views
3 Replies
Replies (3)
Message 2 of 4

ken.poyner
Autodesk
Autodesk

Hi Jiri, 

there's an issue with the processing for this command, I've opened PMILL-11505 for development to fix this,

thanks,

Ken



Ken Poyner

Software Engineer (PowerMill)
0 Likes
Message 3 of 4

TK.421
Advisor
Advisor
Accepted solution

Here's part of the macro that I use to do this:

 

STRING text = project_pathname(1)
STRING viewName = '"' + $text + '"'
STRING myCmd = "SIMPLE_SHARE NAME" + $viewName + "SIMPLE_SHARE ACCEPT"
DIALOGS MESSAGE OFF
ACCOUNT LOGIN FORM fgeCreateShare
DOCOMMAND $myCmd 
DIALOGS MESSAGE ON

see if that helps you or not


the numbers never lie
0 Likes
Message 4 of 4

jiri.brany
Observer
Observer
to TK.421
 
....Very much thank you for the solution...macro works correct...you are king 🙂
0 Likes