Libray Part that changes with different layer combinations
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-04-08 06:55 PM
‎2009-04-08
06:55 PM
ie. if layer combination is "tiling" then object would have "solid" lines
if layer combination is "reflected ceiling" then object would have "dotted" lines
The idea is that I want to show the furniture in dotted lines in the reflected ceiling layouts. What I am doing now is exploding the object, emptying the fills and converting the solid lines to dotted.
-------------
Chadi Saroufim, Assoc. AIA
M. Arch & M. Urban Design, Partner
Idepconsult – Mounir Saroufim and Partners
ArchiCAD 23 INT
Windows 11
Chadi Saroufim, Assoc. AIA
M. Arch & M. Urban Design, Partner
Idepconsult – Mounir Saroufim and Partners
ArchiCAD 23 INT
Windows 11
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-04-08 07:13 PM
‎2009-04-08
07:13 PM
See:
http://archicad-talk.graphisoft.com/viewtopic.php?t=9019
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-04-09 11:26 AM
‎2009-04-09
11:26 AM
From GDL User Manual:
REQUEST ("floor_plan_option",""storyViewpointType)
Returns the story viewpoint type which is set in the Model View Options. 0 stands for "Floor Plan", 1 stands for "Ceiling Plan".
REQUEST ("floor_plan_option",""storyViewpointType)
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-04-13 05:15 PM
‎2009-04-13
05:15 PM
Dear Roberto,
I have tried your script example but failed to understand how to use it.
Would you be kind enough to create for me one sample with a rectangle that changes from solid line to dotted when changing the model view options.
Thank you for you help.
I have tried your script example but failed to understand how to use it.
Would you be kind enough to create for me one sample with a rectangle that changes from solid line to dotted when changing the model view options.
Thank you for you help.
-------------
Chadi Saroufim, Assoc. AIA
M. Arch & M. Urban Design, Partner
Idepconsult – Mounir Saroufim and Partners
ArchiCAD 23 INT
Windows 11
Chadi Saroufim, Assoc. AIA
M. Arch & M. Urban Design, Partner
Idepconsult – Mounir Saroufim and Partners
ArchiCAD 23 INT
Windows 11

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-04-13 10:39 PM
‎2009-04-13
10:39 PM
Hi Chadi,
mine wasn't a really a script example, but a simple and quick copy-paste from the GDL manual. And I realize now that there is an error in it (in the manual), with a missing comma.
Here is a working example of how it can be used:
(first of all you need to create two parameters called "One" and "Two", with the linetypes you want to use for plan view and for rev.ceiling)
dummy=REQUEST ("floor_plan_option", "", storyViewpointType)
IF storyViewpointType = 0 THEN
SET LINE_TYPE One
ELSE
SET LINE_TYPE Two
ENDIF
RECT2 0, 0, a, b
but, now the bad thing... it uses an option introduced in ArchiCAD 11, so it is NOT available for you since you use ArchiCAD 10...
mine wasn't a really a script example, but a simple and quick copy-paste from the GDL manual. And I realize now that there is an error in it (in the manual), with a missing comma.
Here is a working example of how it can be used:
dummy=REQUEST ("floor_plan_option", "", storyViewpointType)
IF storyViewpointType = 0 THEN
SET LINE_TYPE One
ELSE
SET LINE_TYPE Two
ENDIF
RECT2 0, 0, a, b
but, now the bad thing... it uses an option introduced in ArchiCAD 11, so it is NOT available for you since you use ArchiCAD 10...

_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-04-14 11:48 AM
‎2009-04-14
11:48 AM
Thank you Roberto.
-------------
Chadi Saroufim, Assoc. AIA
M. Arch & M. Urban Design, Partner
Idepconsult – Mounir Saroufim and Partners
ArchiCAD 23 INT
Windows 11
Chadi Saroufim, Assoc. AIA
M. Arch & M. Urban Design, Partner
Idepconsult – Mounir Saroufim and Partners
ArchiCAD 23 INT
Windows 11