AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
Modules
  • AVEVA World
  • PDMS/E3D Forum
  • Modules
  • Cancel
Modules
Design Module 3d text permanent color
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 10 replies
  • Subscribers 8 subscribers
  • Views 60 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

3d text permanent color

Nisar Ahmed Dingankar
Nisar Ahmed Dingankar over 5 years ago
 
  • Sign in to reply
  • Cancel
  • Nisar Ahmed Dingankar
    Nisar Ahmed Dingankar over 5 years ago
    Hi,

    I have used Plantcon 3D Text Macro to create 3D Text in my 3D model. How to give permanent color to this 3D Text.

    Appreciate your help.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Nisar Ahmed Dingankar
    Nisar Ahmed Dingankar over 5 years ago
    Hi,
    Please can anyone help.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • me_hungry
    me_hungry over 5 years ago
    To set permanent color, you have to use Autocolor Rules.
    Search on youtube for video manuals or read help..

    You can set some attribute for SITE/ZONE.. where you created letters and
    use expression in Color Rules to distinct them from others.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Nisar Ahmed Dingankar
    Nisar Ahmed Dingankar over 5 years ago
    Hi,

    Thanks me_hungry , I did as per your instruction, but still the color is not changing. below is the editing i did.



    My Zone name is "3DTEXT"



    I modified "des-element-rules.pmldat" as shown below :-



    !rule             = object RULE()

    !rule.name        = |3DTEXT ZONES|

    !rule.rule        = |Name of Zone eq '3DTEXT'|

    !rule.types       = |ZONE|

    !rule.description = |Rule for 3DTEXT ZONES|

    !!tmpRuleArray.append(!rule)



    I modified "des-col.pmldat" as shown below :-



    !gphAutoColourRul = |3DTEXT ZONES|

    !gphAutoColTnslVal = 0

    !gphAutoColEdgeOn = TRUE

    !gphAutoColourCol = object COLOUR(|RED|)

    !gphAutoColour    = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourCol, !gphAutoColTnslVal, !gphAutoColEdgeOn)

    !tempArray[47] = !gphAutoColour



    Can you please tell me where I am wrong.



    Appreciate your Help.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • adak
    adak over 5 years ago
    here is an example of my syntax for des-col.pmldat :

    !gphAutoColourRul = |Road Access way|
    !gphAutoColTnslVal = 0
    !gphAutoColEdgeOn = FALSE
    !gphAutoColourExp = |185|
    !gphAutoColour    = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourExp, !gphAutoColTnslVal, !gphAutoColEdgeOn)
    !tempArray[1] = !gphAutoColour

    may be it help
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Nisar Ahmed Dingankar
    Nisar Ahmed Dingankar over 5 years ago
    is the editing in File : des-element-rules.pmldat OK
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • adak
    adak over 5 years ago
    for me, your des-element-rules seems to be ok.

    take care with [COLOR=#333333]!tempArray[47] = !gphAutoColour --> number 47 should be unique

    hth
    [/COLOR]
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Nisar Ahmed Dingankar
    Nisar Ahmed Dingankar over 5 years ago
    Adak tx for reply.
    Number 47 is unique,  but still I cant change the color.. , do I have to change anything else..
    Experts please give your inputs.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Josef Geltl
    Josef Geltl over 5 years ago
    HI!
    It is important to consider the position in your des-element-rules.pmldat file!
    Maybe a higher or lower entr overwrite your entry while processing the elementrules
    from top to bottom.
    If I?m right the 3D Text is made of STRUS or PANEL`s.
    look for other elementrules which handles STRUS or PANE`s

    Regards
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ian Stanbrook
    Ian Stanbrook 2 months ago in reply to Nisar Ahmed Dingankar

    NAMN of ZONE in rule

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel