iLogic Update Variable from pop up text box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi -
I am working on a project where I need to combine many dwg drawing files into one. Each file has a sheet named "Arch B:1" and I need to copy a variable amount of drawings into one main file. I currently have the below iLogic rule that I run in each file, a little cumbersome but it works good enough. The only issue is whenever I start on a new set of files I need to update the path to the drawing that the sheets are getting pasted to. I was doing it by just editing the rule for every new set and pasting in the new path, however I am going to be having someone else work with me on this and am trying to make this process a little smoother.
My thought was to have a text box pop open that you can paste the path into and that updates the path. I dont love that it would have to happen every time you run the rule but I cant think of a better way.
So open to other ways of achieving this or if someone can just help modify the code below to allow me to paste in from a text box
'get sheet from active drawing Dim Sheet_1 = ThisDrawing.Sheets.ItemByName("ARCH B:1") 'create new drawing Dim Drawing2 As DrawingDocument = ThisApplication.Documents.ItemByName("C:\_Vault2_LS\Designs\ **PATH TO FILE**") 'copy sheet from active drawing to new drawing Sheet_1.Sheet.CopyTo(Drawing2)