Home > Community > Forums > PCB SKILL > axlCustomColorObject arguments

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 axlCustomColorObject arguments 

Last post Thu, Nov 1 2012 11:04 PM by Pawandeep. 5 replies.
Started by Pawandeep 30 Oct 2012 11:30 PM. Topic has 5 replies and 1174 views
Page 1 of 1 (6 items)
Sort Posts:
  • Tue, Oct 30 2012 11:30 PM

    • Pawandeep
    • Top 75 Contributor
    • Joined on Fri, Oct 14 2011
    • Singapore, 00-SG
    • Posts 106
    • Points 1,675
    axlCustomColorObject arguments Reply
    Hi,

    What does [g_custom_color] argument means in axlCustomColorObject and how can I find this number for a particular color?

    Is there any limit<size> for this argument?

    Pawan
    • Post Points: 20
  • Wed, Oct 31 2012 12:24 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 687
    • Points 14,555
    Re: axlCustomColorObject arguments Reply

    Hi Pawan,

    Read the documentation for axlColorSet and axlColorGet. I think the current limit is 192.

    Dave 

    Dave Elder, Tait Communications
    • Post Points: 5
  • Wed, Oct 31 2012 7:01 PM

    • Pawandeep
    • Top 75 Contributor
    • Joined on Fri, Oct 14 2011
    • Singapore, 00-SG
    • Posts 106
    • Points 1,675
    RE: axlCustomColorObject arguments Reply
    Hi Dave,

    Thanks.

    Is there any function to set the color for a dbid by passing directly RGB value (eg 255 255 255) instead of using index of color palette?

    Pawan
    • Post Points: 20
  • Wed, Oct 31 2012 10:52 PM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 551
    • Points 9,710
    Re: RE: axlCustomColorObject arguments Reply

    Hi Pawan

    I've not been able to find such a method.

    What I've found is that you set the color palette indexes and can then use axlColorSet to set indexes using RGB values

    Only exception seems to be background color which can be set individually using rgb values.

    regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Thu, Nov 1 2012 7:36 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 687
    • Points 14,555
    Re: RE: axlCustomColorObject arguments Reply
    What he said!
    Dave Elder, Tait Communications
    • Post Points: 5
  • Thu, Nov 1 2012 11:04 PM

    • Pawandeep
    • Top 75 Contributor
    • Joined on Fri, Oct 14 2011
    • Singapore, 00-SG
    • Posts 106
    • Points 1,675
    RE: RE: axlCustomColorObject arguments Reply
    Hi,

    I raised a CCR 1074136 (Setting color on dbid's based on RGB value) for the same if someone else also wish to follow up on the same.

    Thanks,

    Pawan
    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by Pawandeep at 30 Oct 2012 11:30 PM. Topic has 5 replies.