CONNECT - active_file.dgn variable for keyins

is there a keyin variable for the active file you are currently in?

The following (2) keyins will work great for switching all of my reference views from dynamic to cached and then from cached back to dynamic but they require me to input the active file name.  I would like the file name to be the file I'm currently in so that i can make it a more user friendly tool.

reference visibleedges cached active_file.dgn

reference visibleedges dynamic active_file.dgn

Parents Reply
  • The following finally works thanks all for the help!

    My guess is that my real issue was trying to set the cached view to manual before actually setting the view to be cached. As I was manually going through the workflow I noted that the reference is set to cached before the cache synch is selected.

    $ reference visibleedges cached $(filename(_DGNFILE)) ; reference visibleedges cvesynch manual

    $ reference visibleedges dynamic $(filename(_DGNFILE))

    Answer Verified By: Grant Wood 

Children
No Data