using PathElementRenderer overrides all line properties

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

using PathElementRenderer overrides all line properties

Postby aleksander.przybylo2@boeing.com » Fri Jun 11, 2021 12:19 am

I'm trying to change the color of some paths in Cameo diagrams. I registered a custom PathElementRenderer and overrode the GetColor method. The issue I'm having is that all other properties are set to defaults (stroke, arrows, thickness etc.)

Is there a way to change the color while preserving all the other properties?

Thank you!
aleksander.przybylo2@boeing.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Fri Jun 11, 2021 12:16 am

Re: using PathElementRenderer overrides all line properties

Postby ebonythomas121@gmail.com » Tue Jun 15, 2021 12:46 am

In these instances, overrides can be applied to the entire panel or a specific Draw Options (panel-wide)- override the default display properties for all data Draw Modes: displaying all series as lines (default), bars or points.
NomNomNow
ebonythomas121@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Mon Nov 09, 2020 10:43 pm


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 1 guest