Software Use > Scripting

Laminate.AddPly()

(1/2) > >>

oseresta:
The arguments for Laminate.AddPly(Angle as Single, Thickness as Single, Foamkey as String, Honeycombkey as String, Isotropickey as String, Orthotropickey as String, [object1=, object2=, object=]

unlike layup.AddPly(Angle as Single)

I want to add laminate with where each ply has a different orthotropic material property. In that case
1. Angle is KNOWN
2. Thickness = ? Do we need to put anything because orthotropic material has thickness or do we put the exact same thickness
3. Foamkey = ? what should be the input if the current ply is orthotropic only
3a. Honeycombkey = ?
4. Isotropickey = ?
5. Orthotropickey = Matl key for the orthotropic material
6. Object1, 2, and 3 = what do they stand for ?

Ryan:
2. If you want the thickness of the ply to be the thickness defined for the orthotropic material set thickness = 0.0. Setting a non-zero value will simply override the defined orthotropic material thickness.

3 - 5. If you want to apply an orthotropic material to the ply, set all other material type keys to blank strings.

6. The Object1, Object2, Object3 booleans refer to the HyperLaminate definitions L2, L3, L4. These arguments are optional.

Example:

Call hsLaminate.AddPly(sngAngle, 0#, "", "", "", strOrthoKey)

oseresta:
newLam.AddPly(plyAngle,0.0,"","","",HS.Orthotropics.Item(2).MaterialKey)

The above statement is giving compiler error (syntax error)

Thanks
Omprakash

Phil:
Omprakash,

I apologize for the delay, our Object Model expert is out of town at a training class and has not had a chance to answer this question yet. I will pass along to him that you are awaiting an answer.

Phil

Phil:
Omprakash,

Can you tell me what version of HyperSizer you are running?

Phil

Navigation

[0] Message Index

[#] Next page

Go to full version