View name or ID request

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-17 06:59 AM
In theory, this is fairly easy, however to do this I need to find a way to reference a saved view name or id. Looking through the GDL manual it does not appear that to be a request that can be used for this but I am hoping I am wrong. Does anyone know of a method? Can this be done?
Thanks
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-17 03:11 PM
In the past, I have managed to use some of the Model View Options and/or scale factors to change the appearance of the Zone Stamp. I have been asking for the ability to request and/or call Layers and Layer Combinations forever. Still waiting.

Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-17 03:48 PM
Yes, I too have adjusted object and stamp appearance based on MVO options or scale but not based on a saved view. I will play with it some more this weekend and see what I can come up with. I am beginning to think that perhaps autotext might offer a means to address this. Has anyone done this successfully?
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-17 03:58 PM
1 Create a new libraryglobal "YourLibraryGlobalName"(choose subtype Drawing symbol/Library Global Settings).
2 Make a parameter for instance BooleanUseOffset, write a UI in the library global.
UI_INFIELD{3} "BooleanUseOffset", 10, 10, 265, 18,
7, "", 2, 1, 0, 0, 0, 0,
1, `Use offset`, 0,
2, `Use offset`, 1
3 Then in the zone you create your offset script.
Before that you write this:
success = LIBRARYGLOBAL ("YourLibraryGlobalName", "BooleanUseOffset", reqBooleanUseOffset)
IF success > 0 AND reqBooleanUseOffset THEN
!here comes your offset script
ENDIF
So now when you set the offset on in the Model View Options Combination you will get the offset, and otherwise the original position. Note that this way you can only modify the offset when it is turned on in the MVOC.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-17 06:27 PM
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-17 09:39 PM
success = request("Floor_Plan_Option", "", reqBooleanUseOffset )
IF success > 0 AND reqBooleanUseOffset THEN
!here comes your offset script
ENDIF
Advantage of this request is that is stored with each view. I hope this will work for you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-17 11:28 PM
Mostly I was hoping against hope that there might be an option I have missed.
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-19 02:42 AM
I have created something similar here for and have used a mix of CONSTR_FILLS_DISPLAY, WINDOW_DOOR_SHOW_DIM and FLOOR_PLAN_OPTION. This has given us the ability to have 4 different plan locations from the one object.
This is the guide I use in the 2D script.
!!!!CON_FILLS_DISPLAY GUIDE!!!!
!4 = Brochure Plan
!6 = Floor Plan
!1 = Elec Plan
!6 = Sketch + Ceiling Plan (floor_op = 1)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-19 04:51 AM
Interesting thought for a work around the problem. While it is not universal, it could work for the way we set up our drawings with some consideration.
Thanks for the idea.

AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-19 05:42 AM
Yeah it certainly isn't a universal solution but our company is lucky in that we have a very refined company template so it gives me the ability to create library parts like this knowing it is going to work on every project!
No worries at all, good luck.
