Project2 commands with predifined Fills and Pens

Home Forums Problems and solutions in GDL Others Project2 commands with predifined Fills and Pens

This topic contains 1 reply, has 1 voice, and was last updated by  Joachim Sühlo 3 months, 2 weeks ago.

  • Author
    Posts
  • #4494

    Joachim Sühlo
    Participant

    I want to craete a 2D Symbol with PROJECT2 command with predefined Fills and Pencolors
    undependent from the 3D surface material.
    It seems that I am missing something in the syntax of PROJECT2{3}.
    The result for foregroundcolor red is red and with green the result ist empty.
    See Screenshots.

    Image 1

    Image 2

    And my script:

    SET FILL fili
    PEN ff

    DRAWINDEX 30
    PROJECT2{3} 3,270, 3 + 16 + 32 +64 , ff

    PEN kontur
    PROJECT2 2,270,2

    GDL Object Developer
    b-prisma
    MAC OSx 10.12

  • #4495

    Joachim Sühlo
    Participant

    I got it, I had an logically error. Problem solved!

    PEN foregroundPen
    FILL myFill

    PROJECT2{2} 3, 270, 3+32,
    backgroundPen, xOrigo, yOrigo, fillDirect

    GDL Object Developer
    b-prisma
    MAC OSx 10.12

You must be logged in to reply to this topic.