On 03/12/2012 5:14 PM, Warp wrote:
> huiakso <huiakso> wrote:
>> Is there no easy way to do that?
>
>> Something like:
>> #declare P1 = <1, 2, 3>
>> print(P1.y)
>> => 2
>
> Have you actually *tried* to use "P1.y"? Because it should work exactly
> like that.
>
It does work like that. I am using it in my current project.
e.g.
#declare BoxMax = max_extent (Trace_patch_aa_);
...
#while (Num_z <= BoxMax.z)
...
--
Regards
Stephen
Post a reply to this message
|