• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. Textblock Parameter Attributes userDefined

Stats

  • State Suggested Answer
  • Replies 2
  • Answers 1
  • Subscribers 17
  • Views 984
  • Members are here 0
More Content

Textblock Parameter Attributes userDefined

JuriVi
JuriVi 3 months ago

Hi everybody,

I want parametrisize the Setup Text Size using SKILL.
I can fill the Text Setup Box with values e.g.:

sprintf(str, "%d" k)
p = axlGetParam(strcat("paramTextBlock:" str)) 
              p->width = 1.5
              p->height = 2
              p->photoWidth = 0.2
              p->charSpace = 1

but I can't write or overwrite a value for userDefined (in the Text Setup Box it is called "Name") Attribute like

              p->userDefined = 2015

this causes: *WARNING* (axlParam): attribute read-only

Every body know how I can fix it?

Thanks

  • Cancel
  • Sign in to reply
  • eDave
    0 eDave 3 months ago

    Try using axlDBTextBlockSetName

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • JuriVi
    0 JuriVi 3 months ago in reply to eDave

    Hi eDave,

    thank you, it works.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information