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

Controling Curve Resolution in imported IFC objects

$
0
0
Author:Matthew Johnson
Posted: Wed Jul 29, 2015 10:35 am (GMT+1)


Working with objects created from Revit generated IFC files. When objects have filleted corners or cylinders the created geometry in GDL can be ridiculously heavy.

A supermarket I'm working on at the moment imported a very detailed model of the deli display cabinets and the resultant GDL was very small because the initial object was all square edges and no curves. On the other hand the handrail around the roof mounted plant platform was over 26Mb because it was built from circular rails and posts with spherical connections and these were imported with very high a RESOL equivalent.

Is there a way to limit the resolution of curves when creating GDL from imported data such as IFC?
_________________
Matthew Johnson - P O W E . Architects
AC19 +MEP, Windows 7 64bit
Dell M3800 i7 w/ Nvidia Quadro K1100 4K dual
I'd rather be sailing


upload materials on bimcomponents.com

$
0
0
Author:bjoernheemann
Posted: Wed Jul 29, 2015 1:01 pm (GMT+1)


Hello, i have a big problem with my material shaders and with my time to upload these shaders...

I want to create some shader and upload them on bimcomponents.com, but i make somewhere one or more mistake(s).

i wrote a pdf manual and show the error message from bimcomponents.com
the pdf is under my dropbox:
https://www.dropbox.com/sh/zm2d09kopddgmz0/AADcXwILkx23DkAnLDBb_VPQa?dl=0

can someone help me?

How to change parameters and keep dimensione of an object?

$
0
0
Author:Durval
Posted: Wed Jul 29, 2015 5:45 pm (GMT+1)


This is an experimental object whose purpose is to test a code that changes parameters (by means of 'GLOB_MODPAR_NAME') in order to keep objects parts unchanged. Once resolved, I intend to apply the concept to other real life objects.

It draws two rectangles. The second rectangle is always the height of the first plus a constant 'gap'.

There is a parameter called 'method', whose value can be 1 ou 2.

If method = 1, the 'B' parameter will be the height of first rectangle (h1=B), so the second rectangle has a height of B+gap.

If method = 2, then ' B' should be the height of the second rectangle (h2=B), so h1=B-gap.

I don't want the heights change when method is changed. Instead, I want the 'B' is recalculated so that the heights remain the same.

For instance, method=1, so h1=B=1000 and h2=1500. When method is changed to 2, then h1 should remain =1000 and h2=1500, but B must change from 1000 to 1500.

I wrote these scripts:

Code:
 
!---- Master Script
 
gap = 0.5
 
IF method = 1 THEN
   h1 = B
   h2 = B+gap
ELSE
   h1 = B-gap
   h2 = B
ENDIF
 
 
 
!--- Parameter Script
 
VALUES "method" 1, 2
 
IF GLOB_MODPAR_NAME = "method" THEN 
   IF method = 1 THEN 
      PARAMETERS B = B-gap
   ELSE 
      PARAMETERS B = B+gap
   ENDIF 
ENDIF
 
 
!--- 2D Script

RECT2 0, 0, A, h1 
ADD2 1, 0
RECT2 0, 0, A, h2
DEL 1



What happens is that 'gap' is added/subtracted TWICE every time I change 'method' (in my example, B goes from 1000 to 2000 instead of 1500 when method goes from 1 to 2).

So I changed the Parameter Script to this:

Code:
!--- Parameter Script
 
VALUES "method" 1, 2
 
IF GLOB_MODPAR_NAME = "method" THEN 
   IF method = 1 THEN 
      PARAMETERS B = B-(gap/2)
   ELSE 
      PARAMETERS B = B+(gap/2)
   ENDIF 
ENDIF


And the code works as expected. But in the real-life objects I intend to write, it won't be so easy to compensate this difference.

So the question is: why the code within 'IF GLOB_MODPAR_NAME....' is executed twice when I change the parameter only onceand how could I correct this misbehavior?
_________________
--- www.dtabach.com.br ---
AC 17 INT MacBook Pro i7 8GB RAM Mac OSX 10.9.5

How to change parameters and keep dimensione of an object?

$
0
0
Author:Durval
Posted: Wed Jul 29, 2015 5:49 pm (GMT+1)


The object is attached.
_________________
--- www.dtabach.com.br ---
AC 17 INT MacBook Pro i7 8GB RAM Mac OSX 10.9.5

Library Migration between ArchiCAD 16 & 18

$
0
0
Author:Amy Adams
Posted: Wed Jul 29, 2015 8:59 pm (GMT+1)


Hi Everyone Smile

I set up project templates using version 16 and am now on 18. I can open and edit with no issues, but every time I try to migrate the 16 library it doesn't work and windows/objects are missing... I end up having to load the 16 library on it's own.

I have followed the steps in the help section of the Graphisoft website but no dice.

This is time consuming and frustrating over the course of multiple files a day.

Any thoughts? Am I missing part of the migration process?

I'm on an iMac running ArchiCAD 18.

Thanks,
Amy
_________________
iMac, Late 2013
ArchiCAD 18

Library Migration between ArchiCAD 16 & 18

$
0
0
Author:Piotr Dobrowolski
Posted: Thu Jul 30, 2015 8:24 am (GMT+1)


Are they rally missing? try selecting a "dot" and ctrl/cmd-T then Enter.
Sometimes the parameters may be set wrong and when migrating the object look like missing (especially when changing the language in-between).
Anyway there may be objects that migrate wrong...

BTW. Try not "migrate" the template but rather make new when stepping up from 16 upwards Smile - import anything possible but try not using the old lib parts when using the 19...(the background processing relays on optimized objects and does not work if there are any objects not compatible -simplifying objects from AC 18 and before).
Anyway You have to do a big cleanup regarding the building materials etc - so the all composites must be more-less reworked.
I would start from the original template from 19, then imported layers and applied tools to them, then imported the composites and made cleanup to the attributes like fills etc. The last would be importing the favorites (in most cases they migrate ok with standard lib parts when imported)
The last move would be creating the views/clones and layouts (content may be copied - but afterwords you may have to do some additional cleanup in linetypes and fills atributes).

Best Regards,
Piotr

Library Migration between ArchiCAD 16 & 18

$
0
0
Author:Barry Kelly
Posted: Thu Jul 30, 2015 9:04 am (GMT+1)


I am no expert with this as I don't use the Graphisoft libraries.
But are you loading the 16 and 17 migration libraries (I believe you need both) as well as the full 18 library?

Barry.
_________________
Versions 6.5 to 18 (build 3006)
Dell Precision T3600 - Xeon ES-1620 0 at 3.6Ghz, 16GB ram, ATI FirePro W7000 (4GB), Windows 7 (64 bit)
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

Relations betwwen gsm objects

$
0
0
Author:Cosminn
Posted: Thu Jul 30, 2015 2:07 pm (GMT+1)


@Barry :
You said :
"Yes it can be done in GDL with a text file as an intermediate link.
But the object must be visible on screen to write to or read from the text file."

If you'll have time to write a sample script for this, or maybe you can let me know which part from the guide should I looking for this, will help a lot.

Anyway, a Script is a Script Very Happy

Thank you for your time

Regards,

Daniel


How to change parameters and keep dimensione of an object?

$
0
0
Author:LGreen
Posted: Fri Jul 31, 2015 12:37 am (GMT+1)


Hi Durval,

This happens because the parameter script can be run multiple times, thus resulting in the calculation occurring twice or more. I had this exact problem last year and it's a simple solution. Here is the topic I started. It has a working object in my last reply. Essentially you need to insert the code below from Michael Rensing (Found in this topic) which only runs part of the script if it is the first time the script is being run.

Michael Rensing wrote:
This should do it.

Code:

   n = APPLICATION_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", isFirstRun)
   IF isFirstRun THEN
      A=A+1
   ELSE
      A=A
   ENDIF

_________________
Lachlan Green | Architect
Fulton Trotter Architects
AC18 | Windows 7 Dual 27" | 3.07GHz | 32GB RAM

Refresh Object

$
0
0
Author:Tom Baines
Posted: Fri Jul 31, 2015 2:16 am (GMT+1)


Hi all,
I have created an object which reads the zone number it relates to. I have then populated a parameter that picks up the home story and combines it with the zone number.
Ie. I have a zone called '02' placed on level '3'
My outputted parameter reads 3-02

Works well, so I can schedule it. My problem is, if I want to update the zone number, the object parameter doesn't update until I open the object and then close it.

Is there a way I can include some sort of refresh code in my script when the zone is changed?
_________________
Webber Australia
ArchiCAD V.18

Refresh Object

$
0
0
Author:Erich
Posted: Fri Jul 31, 2015 5:05 am (GMT+1)


By "if I want to update the zone number" do you mean that you change the number of a placed zone or did you issue the "Update Zones" command?

If you just changed the zone number I do not think that a GDL object will pick up the change. It might with the "Update Zones" command but as I do not use or have such an object, you will need to test this.
_________________
Erich

AC 19 3003 & AC 18 5100
Mac OS10.9.5
15" Retina MacBook Pro 2.6

Refresh Object

$
0
0
Author:Barry Kelly
Posted: Fri Jul 31, 2015 6:56 am (GMT+1)


Zone stamps are the only objects that will adjust as you alter a zone.

Standard objects can get information from a zone but as you have discovered you must force the object to run its scripts for the zone info to update.
This can be done by opening and closing the object settings, or a simple screen zoom or pan should do it or a 're-build and regenerate' command (CTRL+ALT+SHIFT+R).

Note: 're-build' command (CTRL+SHIFT+R) will not work as this does not regenerate the model.

Barry.
_________________
Versions 6.5 to 18 (build 3006)
Dell Precision T3600 - Xeon ES-1620 0 at 3.6Ghz, 16GB ram, ATI FirePro W7000 (4GB), Windows 7 (64 bit)
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

Refresh Object

$
0
0
Author:Tom Baines
Posted: Fri Jul 31, 2015 7:01 am (GMT+1)


Thanks,
Yes it seems a bit problematic with this approach. Will go down the IFC parameter path instead. Thanks
_________________
Webber Australia
ArchiCAD V.18

Relations betwwen gsm objects

$
0
0
Author:Barry Kelly
Posted: Fri Jul 31, 2015 7:52 am (GMT+1)


Try this.

You can still only have one 'object_1' in you plan otherwise you will have multiple objects trying to write different information to the same text file.

You can have as many 'object_2' as you want and they will all change when you alter object one on screen.
You must do a 'Rebuild and Regenerate' command (CTRL+ALT+SHIFT+R) if you change object_1 in plan.
If you do it in 3D window then it should all be live.

I have set the objects so they will create and read from an '.XLS' file that has the same name as your Archicad file but with the added name of '_object_sizes.xls'
It will be located in the same folder as your Archicad file.

I assume it will work if you are using a MAC - but I am not 100% sure.


Forget what I said before about using GLOB_USER variables.
Graphisoft have discontinued their use from version 19 so they will be completely useless.


Barry.
_________________
Versions 6.5 to 18 (build 3006)
Dell Precision T3600 - Xeon ES-1620 0 at 3.6Ghz, 16GB ram, ATI FirePro W7000 (4GB), Windows 7 (64 bit)
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

Check for unique GLOB_ID

$
0
0
Author:LGreen
Posted: Fri Jul 31, 2015 9:19 am (GMT+1)


I don't know of a easy way to do that through GDL, as each object would need to write its ID out to a text file or something in order to have the objects check each other. However a far easier solution would be to set up a schedule to list out all of the objects, their IDs and quantity. Then the users just need to check the list occasionally to make sure all IDs are unique.
_________________
Lachlan Green | Architect
Fulton Trotter Architects
AC18 | Windows 7 Dual 27" | 3.07GHz | 32GB RAM


Relations betwwen gsm objects

$
0
0
Author:Cosminn
Posted: Fri Jul 31, 2015 10:12 am (GMT+1)


Thank you so much.
I'll try it.
Seems to be exactly what I need. Those Global Variables was worked properly. But I need to try this as well. What I need is:
5-10 Objects to read from One object, this can be an assembly.
And I need few assemblies like this in on project. @40 assemblies.
Do you think will work? I mean will make the project process harder?

Again Thank you!!!

Relations betwwen gsm objects

$
0
0
Author:Barry Kelly
Posted: Fri Jul 31, 2015 10:27 am (GMT+1)


I would forget the GLOB_USER variables.
That will only work up to version 18.
From 19 onwards they will no longer work.

I am not sure exactly what you are trying to do but it should work.
If you have got 40 assemblies then you will need 40 master objects ('object_1' but of course with unique names).
Each one of those objects will need to write to a unique text file - that is where you can customise the file name in the file path.

Otherwise you could write to just the one text file but you would need unique names for the fields being written and read.
i.e. master_1 would have to save 'length_1', 'width_1' and 'height_1'.
master_2 would have to save 'length_2', 'width_2' and 'height_2'
master_3 would have to save 'length_3', 'width_3' and 'height_3'
etc.

Barry.
_________________
Versions 6.5 to 18 (build 3006)
Dell Precision T3600 - Xeon ES-1620 0 at 3.6Ghz, 16GB ram, ATI FirePro W7000 (4GB), Windows 7 (64 bit)
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

Controling Curve Resolution in imported IFC objects

$
0
0
Author:Ilder
Posted: Fri Jul 31, 2015 3:06 pm (GMT+1)


A little workaround, import IFC, transform to morph, edit morph, reduce surfaces and so on.... save as object.
_________________
Ilder Bertani
AC 18
Intel Core i7
RAM 16GB
Windows 7 - 64bit

Double door with central mullion?

$
0
0
Author:Bill
Posted: Fri Jul 31, 2015 3:46 pm (GMT+1)


Is there a double door that offers an integrated center vertical mullion, as is often used in fire rated doors?

I know I can visually "fake" it with two doors ganged together, but then it won't display as one door on the schedule, and that is important.

Thanks!

Bill
_________________
Bill Szustak RA
Principal, Springboard Design
ArchiCAD 17+18, Windows 7 Pro

Controling Curve Resolution in imported IFC objects

$
0
0
Author:Matthew Johnson
Posted: Sun Aug 02, 2015 1:34 am (GMT+1)


Ilder,

If it was only one or two objects that were going to be used on 20-30 projects I'd probably build the GDL from scratch as I would be able to control the clarity of the coding. Morph editing takes a fair bit of time as well but occasionally has it's place.

With the current project there are over 750 independent GDL objects. The objects are only going to be used on a hand full of projects so rebuilding even a portion of them is out of the question.

What I'm looking for is some control over the import process to restrict RESOL of curves. Or failing that an ability to automatically reduce faces in a generated GDL.
_________________
Matthew Johnson - P O W E . Architects
AC19 +MEP, Windows 7 64bit
Dell M3800 i7 w/ Nvidia Quadro K1100 4K dual
I'd rather be sailing

Viewing all 3838 articles
Browse latest View live


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