Reply

Switching from Smart to Fast Pattern

It looks to me like you can't change a pattern from Smart to Fast in the API.

There is a PatternType property but it seems to be readonly.

I have a customer file that has 70+ patterns that are set to Smart(slow) and most of them don't need to be Smart.

The part is wicked slow to work with so manual changing would take all day. 800 meg file.

If anyone has done this I would like to know how.

Jason T.

LMGi
www.TLMGi.com
1 REPLY

Re: Switching from Smart to Fast Pattern

Ouch,  @JasonTitcomb  I dont see any low hanging fruit either...  only the GET method...

 

But I do see that the Add method calls SolidEdgePart.PatternTypeConstants... so this would be used to create a new pattern and set to Fast or Smart.

 

Maybe you could read the exsting Pattern and pass the Ref Object into a new pattern settignit to smart and then delete the orig patter?

 

Add(Int32 NumberOfFeatures, ref Object[] FeatureArray, ref SolidEdgePart.Profile#SolidEdgePart.Profile Profile, SolidEdgePart.PatternTypeConstants#SolidEdgePart.PatternTypeConstants PatternType)

 

===================================================
Matt Johnson
Solid Edge Certified Professional (ST7 & ST8)
Solid Edge ST9 (SEEC) - Production
NX10 (Tc Integration) Pre-Production Testing
Teamcenter 10.1.6