NK

Hi, I'm currently poking around on some Report scripting functions about creating GfxObj objects in a model and I end up figuring out on how to make the rounded rectangle that I just created  to be rendered with 3-D effect. This is the function that I used for this purpose...

// Report class Model - Method createRoundedRectangle
var rect = model.createRoundedRectangle (nPosX, nPosY, nSizeX, nSizeY);


Is it really possible to make this rectangle 3-D? I was not able to find any function to make one from the bundled ARIS Help Script file. Thanks.

by Eva Klein
Badge for 'Community Team' achievement
Posted on Mon, 03/28/2011 - 13:59

Hi Nanji,

there is a method to display the object with a shade

var rect = model[0].createRoundedRectangle(200 ,300,400,200);
rect.setShaded(true);

I hope this will help you.

Regards

Eva

0
by Nanji Katana Author
Posted on Tue, 03/29/2011 - 09:39

In reply to by Darapis

Hi Eva,

I was really after the buttonized effect (3d effect) that is doable from the Properties dialog box that appears  when selecting the right-click pop-up menu option, Properties..., of a polygon object from Designer view. It has two checkboxes, one checkbox for setting the Shaded effect and the other one for the 3-D effect. 'Guess I'll just have to stick with the shaded effect. That will work just fine for me. Thanks Eva again for your fast response.

- Nanji

 

 

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock