Cancel
Showing results for 
Search instead for 
Did you mean: 

Femap API - PBEND properties and FSI values

Experimenter
Experimenter

Hi all,

I'm writing a script to automate the changing of Flexibility/Stress Intensification (FSI) options among curved tubes in a model.

Looking at the corresponding pval() entries for a Curved Tube, it looks like there is no entryfor the FSI entry. Is this possible to automate?

 

Jeremy

2 REPLIES

Re: Femap API - PBEND properties and FSI values

Siemens Phenom Siemens Phenom
Siemens Phenom

It's on the property object flag, stored in flagI(0).

 

The HTML Clipboard

Sub Main
    Dim App As femap.model
    Set App = feFemap()

    Dim feProp As femap.Prop
    Set feProp = App.feProp

    feProp.Get(1)
    feProp.flagI(0) = 2
    feProp.Put(1)


End Sub

Re: Femap API - PBEND properties and FSI values

Experimenter
Experimenter
Perfect - thank you very much!