Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations dmapguru on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB & Solidworks -- Changing K-FACTOR on SM Part

Status
Not open for further replies.

jh0401

Computer
Joined
Apr 8, 2002
Messages
32
Location
US
Hi,

We have standard sheet metal templates set
up for 10ga, 12ga, etc in solidworks for our
new parts. I've automated the design process
& part creation through solidworks on several
of our company parts/assemblies.

I've come to some parts that need to be available
in multiple gauges of material but I am unable to
change the K-Factor for the std sheet metal part
material feature through API (so far)...

I can change the bend radius & part thickness on
the sheet metal material feature but can't seem
to access the k-factor on the standard sheet
metal feature.

Does anyone have some sample code or any ideas?

Thanks in advance.
 
Try:

CustomBendAllowance.KFactor = kFactor

You can get to underneath SheetMetalFeatureData and CustomBendAllowance.

Evan T. Basalik, MCSD
--------------------------------
It's all about prioritization...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top