Search the Knowledge Base Report a bug
Post new topic   Reply to topic   printer-friendly view   .    ArchiCAD-Talk Forum Index >>> Open ARCHICAD Wishes >>> Global parameters for pen numbers in GDL objects
View previous topic :: View next topic

What's your opinion about this wish?
Essential (5)
60%
 60%  [ 3 ]
Important (4)
20%
 20%  [ 1 ]
Average (3)
0%
 0%  [ 0 ]
Not important (2)
0%
 0%  [ 0 ]
Not needed (1)
20%
 20%  [ 1 ]
Average: 4.00 points
Total Votes : 5

Author Message
Johan Cosandey
New member
New member

Joined: 29 Jun 2015
Posts: 5
Location: Switzerland

PostPosted: Sun Jun 18, 2017 12:38 pm    Post subject: Global parameters for pen numbers in GDL objects Reply with quote

A lots of offices are making their own optimized pen sets to better suit their needs and habits.
This often leads to their pen sets having a completely different structure than the original ArchiCAD pen sets.

The big problem with this is that every GDL objects form the library has been coded with specific pen numbers corresponding to the ArchiCAD pen sets structure. So if you change this structure, these objects will not appropriately use your customized pen sets. You have to manually edit every object. You can of course use the favorites to ease this process, but there is, I think, another way of dealing with this issue that would greatly improve the customization capability of ArchiCAD :

Instead of using pen numbers in the GDL script of objects, the idea would be to use global parameters referencing each particular use (e.g. : General - Drafting, Objects - General, Annotation - Markers, ).
These global parameters would be accessible in a new menu (probably in the elements attributs menu) that would let the user customize the pen attributed to each one of them. This would be in a way similar as the current building materials menu that lets you customize the pen of every material.

This menu should of course follow the new standard organisation of ArchiCAD menus letting you restore defaults settings, save, export or import.

I think this would be a great improvement for everyone.

Thanks for your attention
Back to top
View user's profile Send private message    
David Maudlin
Senior member
Senior member

Joined: 28 Oct 2003
Posts: 3705
Location: Washington, D.C.

PostPosted: Sun Jun 18, 2017 1:08 pm    Post subject: Re: Global parameters for pen numbers in GDL objects Reply with quote

This could be achieved using Model View Options (similar to the Door/Window Opening overrides). The technology is there, but all the affected library parts would need additional code added.

David

_________________
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC21 USA+MEP iMac 27" 4.0GHz Quad-core i7 | 24 gb ram MacBook Pro 2.5GHz | 16 gb ram OSX10.10.5
Back to top
View user's profile Send private message Visit poster's website    
DGSketcher
Active member
Active member

Joined: 22 Jul 2011
Posts: 478
Location: UK

PostPosted: Mon Jun 19, 2017 11:56 am    Post subject: Re: Global parameters for pen numbers in GDL objects Reply with quote

Pen sets are almost obsolete if you use Graphic Overrides. You only need one pen set with an appropriate range of pen colours and weights, the GOs then allow you to highlight whatever is relevant to the final publication. For me the use of GOs has eliminated that annoying process of publishing and then finding something is displayed with an inappropriately heavy pen.
_________________
Apple iMac MacOS Sierra / AC21UKI (most recent build)
Back to top
View user's profile Send private message    
Johan Cosandey
New member
New member

Joined: 29 Jun 2015
Posts: 5
Location: Switzerland

PostPosted: Thu Jun 22, 2017 8:51 pm    Post subject: Re: Global parameters for pen numbers in GDL objects Reply with quote

Hi all,

I'm sorry but your various answers do not respond to the problem in hand.
You can't possibly have graphic overrides change the pen attributes of every object you draw. That's just not efficient.
If you draw a window or a toilet, you want it to have the correct pen attributes immediately. You won't be able to adjust every pen used by the window with graphic overrides.

I made a little research and it seems that the pen settings of every ArchiCAD object comes from its subtype. Does someone know if it is possible to edit those subtypes gsm files to adjust the pen numbers?
Back to top
View user's profile Send private message    
DGSketcher
Active member
Active member

Joined: 22 Jul 2011
Posts: 478
Location: UK

PostPosted: Thu Jun 22, 2017 11:23 pm    Post subject: Re: Global parameters for pen numbers in GDL objects Reply with quote

The point is GOs will resolve presentation issues very quickly. With GOs you can set everything to a fine pen and highlight with a heavier pen the type of object that need promoted on your final drawing e.g. windows or toilets. This is easily done by filtering by object type or by elements placed on a layer. Works for me and is very efficient.
_________________
Apple iMac MacOS Sierra / AC21UKI (most recent build)
Back to top
View user's profile Send private message    
laszlonagy
Site Admin
Site Admin

Joined: 20 Oct 2003
Posts: 8006
Location: Budapest, Hungary

PostPosted: Sat Jun 24, 2017 11:13 am    Post subject: Re: Global parameters for pen numbers in GDL objects Reply with quote

Johan,

I think this can best be done by the GDL-XML Converter:

http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool

http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/AC_16/APIDevKit/LPXML%20Documentation/LP_XMLConverter.html

_________________

Laszlo Nagy, Moderator, Site Admin
https://twitter.com/laszlonagy

AMD Ryzen 1700X 3.4 GHz, 32 GB DDR4 RAM
28" (2560x1440), NVidia GTX 1060 6GB
500 GB NVMe SSD, WIN10 PRO ENG
AC13-AC21
Loving ARCHICAD since 1995
Back to top
View user's profile Send private message Visit poster's website    
Johan Cosandey
New member
New member

Joined: 29 Jun 2015
Posts: 5
Location: Switzerland

PostPosted: Fri Jul 07, 2017 10:27 am    Post subject: Re: Global parameters for pen numbers in GDL objects Reply with quote

Hi Laszlo,

I didn't know there was such tool in ArchiCAD.
It looks like it will do exactly what I'm looking for.

I will give it a try.

Thanks
Back to top
View user's profile Send private message    
Display posts from previous:   
View previous topic :: View next topic
Post new topic   Reply to topic   printer-friendly view       ArchiCAD-Talk Forum Index >>> Open ARCHICAD Wishes >>> Global parameters for pen numbers in GDL objects All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2001, 2005 phpBB Group
Copyright 2012 - Graphisoft SE. All rights reserved worldwide. Terms of Use | Privacy Policy