optional hole in prism command

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2003-12-23 02:36 AM
thanks
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019 [/size]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2003-12-23 05:40 AM
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
‎2003-12-23 05:46 AM
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019 [/size]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2003-12-23 06:15 AM
NO_HOLE is a boolean (ON/OFF) parameter
x#, y# are the prism coordinates (with masks)
prism_height is a parameter
If NO_HOLE Then
PUT x1, y1, 1,
x2, y2, 1,
x3, y3, 1,
x4, y4, 1,
x5, y5, -1
Else
PUT x1, y1, 1,
x2, y2, 1,
x3, y3, 1,
x4, y4, 1,
x5, y5, -1,
x6, y6, 1,
x7, y7, 1,
x8, y8, 1,
x9, y9, -1
EndIf
PRISM_ NSP/3, prism_height, GET (NSP)
End
You "PUT" coordinates into the objects buffer, then "GET" the "NSP" (number of stored parameters in the buffer).
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
‎2003-12-23 07:02 AM
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019 [/size]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2003-12-23 07:20 AM
Thanks, you have a good holiday, also!

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
‎2003-12-23 09:58 AM
Aussie wrote:If you're using AC8, you should have a look at the boolean operation in GDL scripts : it should be even easier to manipulate... (I've never managed very well the PUT and GET command
Hi anyone know a trick to script a prism command so that an inserted hole is on or off? Making a zero sized hole obviously gives an error

have a look at :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2003-12-24 02:41 AM
PUT x1, y1, 1,
x2, y2, 1,
x3, y3, 1,
x4, y4, 1,
x5, y5, -1
If NO_HOLE = 0 Then
PUT x6, y6, 1,
x7, y7, 1,
x8, y8, 1,
x9, y9, -1
EndIf
PRISM_ NSP/3, prism_height, GET (NSP)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2003-12-25 12:05 AM
As I said "a rough example" to help explain how the GET / PUT works. Remember, we are not on the GDL-Talk list and many GDL questions are coming from users with little to no GDL experience.

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
‎2003-12-29 06:06 AM