cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
tsturm
Newcomer

Library Part with Shadow, Redraw Sequence

Hello to all.

Before I set out to create a library part, strictly 2D for now, with a shadow, I wanted to ask for some suggestions.

I want to create an object, such as a tree with a shadow than can be moved around behind it. The shadow would be the same as the foreground shape but be offset depending on the necessary lenght for time of day and season.

The Question is. How do I control the redraw pattern or sequence so that the tree top is drawn over, in front of, the shadow?

In AC, I would normally tell one shape to move forward and another backward. Can this same procedure be done in a library part???

Thanks for the help and suggestions.
Terrence Sturm, Architect
_______________
MBP OSX 10.15.4 Quad Core Intel i7 2.2hz
AC 17 build 5019
AC 22 build 7000
AC 23 build
AC 24 build 5000
1 Reply 1
Page 97:

"DRAWINDEX number

Defines the drawing order of 2D Script elements. Elements with a smaller drawindex will be drawn first.

Restriction of parameters: 0 < number <= 50 (In the current version of GDL only the 10, 20, 30, 40 and 50 DRAWINDEX values are valid. Other values will be rounded to these.)

If no DRAWINDEX directive is present, the default drawing order is the following:

1) Figures
2) Fills
3) Lines
4) Text elements"

For the default drawing order, the higher numbers are in front. (Lines on top of fills.) Within each element type, elements later in the script are in front.
James Murray

Archicad 29 • Rill Architects • macOS • OnLand.info

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!