Quantcast
Channel: ArchiCAD-Talk - Libraries / Library Parts / GDL
Viewing all 3838 articles
Browse latest View live

Graphicaly creating objects using Marquee to shape it

$
0
0
Author:laszlonagy
Posted: Tue Nov 10, 2015 9:20 pm (GMT+1)


If you select the element in 3D and use the File\Libraries and Objects\Save Selection As\Object command, then yes, it will save the whole object.

But if you use the File\Save As command to save it as a GSM format, then load that file into your Embedded Library, it will create the geometry cut by the Marquee.
At least that's how it works for me in AC 19.
_________________
Laszlo Nagy, Moderator, Site Admin
ASUS G73SW, i7-2630QM 16 GB RAM
17.3" (1920x1080), NVidia GTX 460M 1.5 GB RAM
60 GB SSD, 750 GB HDD, Win7-64 ENG
AC13-AC19 (64-bit, latest build)
Loving ArchiCAD since 1995


Making a 2D object Stretch w/o stretching text

$
0
0
Author:GDCD_FL
Posted: Tue Nov 10, 2015 9:37 pm (GMT+1)


I've made a simple 2d symbol with editable text. Problem is the object needs to be stretched according to opening size. When I stretch it the text stretches with it. Is there an option to let the program know where to stretch the object. I need the text to be centered during stretch as well.

Graphicaly creating objects using Marquee to shape it

$
0
0
Author:Chuck Lois
Posted: Tue Nov 10, 2015 11:59 pm (GMT+1)


Thank you for your reply.
I did try to do what you suggested but after loading it in the embedded library the object preview window says :

"Invalid 3D symbol. Open the library part for editing and check its 3D script for errors."
Not sure what to do next.

Thanks,
Chuck

Interface page navigation

$
0
0
Author:Bruce
Posted: Wed Nov 11, 2015 2:43 am (GMT+1)


I'm developing a fairly complex object that will have many pages in the UI. I'm trying to mimic the ArchiCAD door page selection method (to keep it familiar for users) but can't figure out how to get the drop-down page selection working with the PREV and NEXT buttons.

(I've tried to figure out how Graphisoft do it, but have gotten completely lost amongst all their macro calls.)

If I set the UI_CURRENT_PAGE via the drop down selection, the UI_PREV and UI_NEXT don't work, and vice versa.

Any hints?

Thanks
_________________
Bruce Walker
Cottee Parker
www.cotteeparker.com.au

Interface page navigation

$
0
0
Author:SL_GDL
Posted: Wed Nov 11, 2015 5:47 am (GMT+1)


If I understand correctly, here's a simple example with reference to the standard macro = "ui_tabcontrol"
You create a parameter = "gs_ui_current_page"
tabTitles - You can also create a parameter or make the array directly in the script interface.

Code:
!!!PARAMETERS SCRIPT
!!! You must create the parameter named=gs_ui_current_page

VALUES "gs_ui_current_page" 1,2,3   

IF GLOB_UI_BUTTON_ID > 2 and GLOB_UI_BUTTON_ID < 2.1 THEN
   PARAMETERS gs_ui_current_page = GLOB_UI_BUTTON_ID - 2
ENDIF

!!! INTERFACE SCRIPT
UI_DIALOG "SL-GDL" ! Your any text

UI_CURRENT_PAGE gs_ui_current_page
UI_PAGE gs_ui_current_page

DIM tabTitles[3]
   tabTitles[1] = " Parameters"
   tabTitles[2] = " Represent"
   tabTitles[3] = " Info"

UI_BUTTON ui_prev, "<<", 295+10,2, 32,21, gs_ui_current_page - 1 !!!! Previous
UI_BUTTON ui_next, ">>", 295+10+33,2, 32,21, gs_ui_current_page + 1 !!! Next page

!!! HEAD
!!! Example without icons
CALL "ui_tabcontrol" parameters   controlType = 1,
      nTabs = 3,
      gs_ui_current_page = gs_ui_current_page,
      tabTitles = tabTitles,
      drawBox = 1

!!! PAGES

  UI_PAGE 1
  UI_PAGE 2
  UI_PAGE 3

_________________
Intel Core i7-2600 3.4GHz; RAM: 8 GB
http://sl-gdl.com

Interface page navigation

Interface page navigation

$
0
0
Author:SL_GDL
Posted: Wed Nov 11, 2015 11:32 am (GMT+1)


Standard macros is a good thing, but there is always the danger that in a new release of version of the GS change the script (or remove some parameters) so that the element will stop working. Well if this is a basic macro that you give a link CALL "...", but if it happens in other levels? Eg. windows - doors, a large number of macros. Modern elements are so complex and they have a CALL "..." a few times (possibly in a circle inside).
_________________
Intel Core i7-2600 3.4GHz; RAM: 8 GB
http://sl-gdl.com

Graphicaly creating objects using Marquee to shape it

$
0
0
Author:laszlonagy
Posted: Wed Nov 11, 2015 12:04 pm (GMT+1)


Select the placed Object and use the File\Libraries and Objects\Open Object menu to open it.
Then activate the 3D Script and then click the Check Script button. What is the exact error it tells you?
_________________
Laszlo Nagy, Moderator, Site Admin
ASUS G73SW, i7-2630QM 16 GB RAM
17.3" (1920x1080), NVidia GTX 460M 1.5 GB RAM
60 GB SSD, 750 GB HDD, Win7-64 ENG
AC13-AC19 (64-bit, latest build)
Loving ArchiCAD since 1995


Graphicaly creating objects using Marquee to shape it

$
0
0
Author:Chuck Lois
Posted: Wed Nov 11, 2015 3:48 pm (GMT+1)


Hi laszlonagy,

2 error reports come up

(1) Key words cant be used as variables at line 8168 in the
3D script of the file zzz script of the file zzz.gsm

(2) Parameter expression error or unnecessary end comma
at line 8168 in the 3D script of the file zzz.gsm

I do use this method a lot for very detailed cut outs on 3d construction docs
so if you can figure this out for me I will be very happy again..

Thanks,
Chuck

Graphicaly creating objects using Marquee to shape it

$
0
0
Author:laszlonagy
Posted: Wed Nov 11, 2015 5:09 pm (GMT+1)


The two error messages are probably related because they both appear in the same line of the script.
Try to resave the geometry and when saving, give it a proper name, not "zzz".
Hopefully, that will fix it.
_________________
Laszlo Nagy, Moderator, Site Admin
ASUS G73SW, i7-2630QM 16 GB RAM
17.3" (1920x1080), NVidia GTX 460M 1.5 GB RAM
60 GB SSD, 750 GB HDD, Win7-64 ENG
AC13-AC19 (64-bit, latest build)
Loving ArchiCAD since 1995

Graphicaly creating objects using Marquee to shape it

$
0
0
Author:Chuck Lois
Posted: Wed Nov 11, 2015 9:12 pm (GMT+1)


Ok..
I tried to cut a shape out of a slab with marquee again and saved as a "proper" name (cut-out-1) .....no error messages this time ....
BUT
the resulting gsm part included not only the entire slab but
everything else in my model even though I selected only the 3d cut out in the 3d window when saving it.

???

Chuck

Interface page navigation

$
0
0
Author:Bruce
Posted: Wed Nov 11, 2015 9:48 pm (GMT+1)


Thanks guys - a great help. Don't understand it yet, but I'll get there. Ta
_________________
Bruce Walker
Cottee Parker
www.cotteeparker.com.au

Graphicaly creating objects using Marquee to shape it

$
0
0
Author:laszlonagy
Posted: Wed Nov 11, 2015 10:40 pm (GMT+1)


With the Save As command everything visible in the 3D Viewpoint is saved. So define the Marquee in the Floor Plan and display only that in the 3D Viewpoint.
Alternately, select only the cut Slab in 3D and press F5 to display only that single element in 3D. Then use the Save As command.

(The Save Selection As command is different - as its name implies, it saves only the things you select.)
_________________
Laszlo Nagy, Moderator, Site Admin
ASUS G73SW, i7-2630QM 16 GB RAM
17.3" (1920x1080), NVidia GTX 460M 1.5 GB RAM
60 GB SSD, 750 GB HDD, Win7-64 ENG
AC13-AC19 (64-bit, latest build)
Loving ArchiCAD since 1995

Graphicaly creating objects using Marquee to shape it

$
0
0
Author:Chuck Lois
Posted: Thu Nov 12, 2015 8:11 pm (GMT+1)


Hello again..
It saved the object again as the entire slab and not the cut out defined by the marquee again..
HOWEVER..In the object 2D preview it shows it correctly cut out.
The plan view in the model also shows the cut out but in 3D it's still the entire slab.
Is it possible that there is a glitch that needs to be addressed?
I do have the latest downloaded V19
Thanks,
Chuck

Modelview Options & Library Global

$
0
0
Author:Bruce
Posted: Fri Nov 13, 2015 6:18 am (GMT+1)


I know this is an old post, but the current GDL guide still lists this (or a close variation) as a valid coding option. However, I can't figure out how to set the MVO to be "Ceiling Plan" apart from Lamp options - which doesn't affect this REQUEST.

http://gdl.graphisoft.com/gdl-docs/gdl-guide/chapter-12-miscellaneous/request-options/

(do a page search for "storyViewpointType" - it's near the bottom)

Any ideas?
_________________
Bruce Walker
Cottee Parker
www.cotteeparker.com.au


Gutter gutter with hanger object

$
0
0
Author:Mauhaus
Posted: Fri Nov 13, 2015 10:20 am (GMT+1)


I cannot find the hanger angle adjustment option in the new object settings. I used to be able to adjust the hangers to the sloping angle of the roof. Is this parameter gone in AC19 or do i need to open the object GDL and make the adjustment there? If so, how do I do that ?

Smile Thomas
_________________
Thomas Mau

AC19 INT Denmark
Mauhaus Architecture / www.mauhaus.dk

iMac 27" 3.5 GHz Intel Core i7 - 32 Gb 1600 MHz DDR3 ram - OSX ver. 10.10.5

The world has enough for everyone's need, but not for everyone's greed - Mahatma Gandhi

Gutter gutter with hanger object

$
0
0
Author:Erwin Edel
Posted: Fri Nov 13, 2015 10:46 am (GMT+1)


I've reported this to local reseller and they have reported it to Graphisoft.

Workaround for now: load ArchiCAD18 library along with 19 library, use the 18 object to set up the parameters, if you are done, you can remove the 18 library and it will automatically be replaced by the 19 part, but retain the settings you made.

There are a few more objects that are missing the UI interface to change parameters that are still part of objects.
_________________
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-19 NED FULL
BIMx
Windows 7 Professional SP1 64-bit
Adobe Design Premium CS4
Artlantis Render 4.1

Gutter gutter with hanger object

$
0
0
Author:Mauhaus
Posted: Fri Nov 13, 2015 11:07 am (GMT+1)


Hi Erwin

Thank you very much for the answer and workaround. This was very helpful.

Very Happy Thomas
_________________
Thomas Mau

AC19 INT Denmark
Mauhaus Architecture / www.mauhaus.dk

iMac 27" 3.5 GHz Intel Core i7 - 32 Gb 1600 MHz DDR3 ram - OSX ver. 10.10.5

The world has enough for everyone's need, but not for everyone's greed - Mahatma Gandhi

Problem with conversion of IFC file to GSM

$
0
0
Author:Art_graphic
Posted: Fri Nov 13, 2015 12:07 pm (GMT+1)


Hello all,
When I want to convert IFC model converted to morph, mesh shows up. When I render this element everything is fine and surface of model looks good. I've tried to change settings of edges as hidden or soft - 2D view of model is ok, but when I render that, artefacts show up. Some places at surface of model are concave.
Is there any way to get 2D view clean of mesh and smooth surfaces on render?
Thank You
K.

Interface page navigation

$
0
0
Author:Bruce
Posted: Sat Nov 14, 2015 3:04 am (GMT+1)


Got it working. Turns out the key was adding the "gs_ui_current_page - / + 1" in the UI_BUTTON command.
_________________
Bruce Walker
Cottee Parker
www.cotteeparker.com.au

Viewing all 3838 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>