Help with a simple bevel script

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  03 March 2012
Help with a simple bevel script

Hi all, i'm creating a scene where every object has to have the same amount of bevel, so i think it's a good idea to create a script for it.

So, i know that has to be somthing similar to this:

Quote: Application.SelectObj("Piece8", "", True)
Application.SelectAllUsingFilter("Edge", "siCheckComponentVisibility", "", "")
Application.ApplyTopoOp("BevelComponent", "Piece8.edge[*]", "siUnspecified", "siPersistentOperation", "")
Application.SetValue("Piece8.polymsh.bevelop.nbsubdivs", 1, "")
Application.SetValue("Piece8.polymsh.bevelop.ratio", 0.05, "")
Application.SetValue("Piece8.polymsh.bevelop.units", 0, "")
Application.SetValue("Piece8.polymsh.bevelop.miter", True, "")

the problem is that i don't know how to set that the bevel has to apply to my selection.
  03 March 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:18 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.