ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
The Model Background Drawing Wizard
Hi all.
I am working on a project with multiple buildings, and I would like to import floor plans for them all. My problem is as follows: I can use the Model Background Drawing Wizard to create a background based on a CAD drawing (.dwg). With this wizard, I can switch layer visibility on and off. I can seemingly only have one background, though, so I tried importing my .dwg files through the Visual Tool options. When I use a Visual Tool, I don't get the options of switching layers on and off. Is there a clever way of launching the Background Wizard for ordinary Visual Tools? I added a screenshot of a .dwg file imported through the VT options and one imported and edited through the wizard. |
#2
|
|||
|
|||
You could try setting your visual tool as so() and then running this in a script:
createview("VIEW:/pages/tools/BackgroundWizard", nodetopath(so()), ""); Edit: Corrected mistake caught by Christian- thanks! Last edited by Jason Lightfoot; 12-15-2012 at 05:02 AM. |
The Following 2 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
Jörg Vogel (12-14-2012) |
#4
|
|||
|
|||
Instead of so() as the second argument, the createview function wants a string.
I used "MAIN:/project/model/VisualTool1", and it worked like a charm. Thanks again. |
The Following User Says Thank You to Christian Norregaard For This Useful Post: | ||
Jason Lightfoot (12-15-2012) |
#6
|
|||
|
|||
Even better is the button on the bottom of the parameters page of the Visual Tool "Open The Model Background Wizard For This Object".
|
The Following 4 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
Steven Hamoen (12-17-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
Could not see the background in Berth Planner | David Chan | Container Terminal (CT) Library | 2 | 09-24-2012 08:59 PM |
Importing .dxf and shape files as background objects | Albert Munoz | Q&A | 1 | 07-22-2011 12:19 AM |
Capturing a 2D picture/drawing of a model. | Kenny Macleod | Q&A | 0 | 02-16-2011 06:41 PM |
CAD Drawing Imported as Background | B Whitley | Container Terminal (CT) Library | 8 | 10-09-2009 12:24 PM |
Loading a large map as a background | Kenny Macleod | Q&A | 6 | 02-09-2009 03:46 PM |