2017-09-04 04:49 PM
2017-09-05 11:50 AM
2017-09-05 04:33 PM
DGSketcher wrote:The first example I can think of is 2D symbols. If they have to be a specific colour to suit standards of some sort, it would be much easier to define the pen colour for whenever that object is used rather than having to change pen sets about and have colours that won't be used all of the time. I have had to resort to using image fills which are okay until the MVO's starts changing around and it isn't no longer showing the image fill but it will show the background/foreground pen. Which is where is would be very useful. If you can define image fills then why not be able to define pens. It's extremely useful if you need it and not an inconvenience if you don't.
Why do you need to define the pen colour? AC's options on pens is ridiculously complex as it is. If you are defining a custom pen in GDL what about the line weight, how will AC know how to display it?
If you are just trying to simplify your pens for consistency then I am a big fan of Graphic Overrides and a single pen set.
2017-09-05 05:01 PM
2017-09-05 05:10 PM
DGSketcher wrote:The current object I'm working on has a need for 4 different colours as it includes multiple variations of the object. It's not the most important thing needed in ArchiCAD I agree, however it would be extremely useful and I can see myself having to create similar objects again.
Have a look at the GOs, it looks ideal for your problem. You can create a rule that would modify the display of your symbol object using layer and/or name to filter the symbol and display with pens and fill to suit.
I guess this won't work if you need to use multiple different pens in your symbol but then again I would ask why so many colours? You can read this text without multiple colours, so simply highlighting your objects so they are identifiable and readable on your drawings e.g. electrical / fire symbols in red with a white fill background on a black & white drawing should enough to convey what is required?
Just trying to help!
2017-09-06 04:02 AM
JGoode wrote:You can define a fill in GDL but you can't define a pen for a pen set.
...Surely if you're able to define fills and you can define pens for pen sets then it must be possible to define pens using GDL....
2017-09-06 11:12 AM
Barry wrote:Sorry, I phrased it incorrectly. I meant that you can choose pens from a pen set. Defining RGB pens would be extremely useful in my opinion.JGoode wrote:You can define a fill in GDL but you can't define a pen for a pen set.
...Surely if you're able to define fills and you can define pens for pen sets then it must be possible to define pens using GDL....
You can set the pen number to be used - but that is all.
However I could see the need to be able to set the RGB colour and thickness of a user definable pen (that is not part of a pen set) so that could be used in an object.
Then regardless of the pen set chosen that pen colour would never change in the object (unless altered in the parameter settings).
Zones already have an RGB pen colour that is not part of the pen sets.
If you save a zone as an object you will get an strange pen number (i.e. 1008) and it will just appear white (with an error message to say pen exceeds range) rather than the original zone colour (at least it does for me).
But there is no way to define this pen colour - which would be nice.
Barry.
2017-09-07 01:09 AM
2017-09-07 10:51 AM
2017-09-14 02:28 PM
DGSketcher wrote:The image fills aren't very reliable due to the model view options. Being able to set the background and foreground on different symbols means that there is a lot more flexibility with the MVO's. The idea of defining pens is that they are precise to a colour. There wouldn't be a case where the user of the object would be changing the pen. Company logo's are a good example of a use as most company's will have a specific colour for their logo and it is unlikely that you would want it in a pen set 24/7 unless it was your own company's logo.
The problem I see with it comes when the object is used beyond the originator. Somebody will have an issue with the pen colour and/or pen weight in which case they will be looking to change those values, which is how things work just now with pens & pen sets. If you can't change the values then use of the object may be limited. Where the colours of the object are critical then perhaps using images would be a more reliable solution.