GetOverwrite {Steel Chinese 2002}

GetOverwrite

Syntax

SapObject.SapModel.DesignSteel.Chinese_2002.GetOverwrite

VB6 Procedure

Function GetOverwrite(ByVal Name As String, ByVal Item As Long, ByRef Value As Double, ByRefProgDet As Boolean) As Long

Parameters

Name

The name of a frame object with a steel frame design procedure.

Item

This is an integer between 1 and 51, inclusive, indicating the overwrite item considered.

1 = Framing type

2 = Element type

3 = Is transfer column

4 = Seismic magnification factor

5 = Is rolled section

6 = Is flange edge cut by gas

7 = Is both end pinned

8 = Ignore b/t check

9 = Classify beam as flexo-compression member

10 = Is beam top loaded

11 = Consider deflection

12 = Deflection check type

13 = DL deflection limit, L/Value

14 = SDL + LL deflection limit, L/Value

15 = LL deflection limit, L/Value

16 = Total load deflection limit, L/Value

17 = Total camber limit, L/Value

18 = DL deflection limit, absolute

19 = SDL + LL deflection limit, absolute

20 = LL deflection limit, absolute

21 = Total load deflection limit, absolute

22 = Total camber limit, absolute

23 = Specified camber

24 = Net area to total area ratio

25 = Live load reduction factor

26 = Unbraced length ratio, Major

27 = Unbraced length ratio, Minor Lateral Torsional Buckling

28 = Effective length factor, Mue Major

29 = Effective length factor, Mue Minor

30 = Moment coefficient, Beta_m Major

31 = Moment coefficient, Beta_m Minor

32 = Moment coefficient, Beta_t Major

33 = Moment coefficient, Beta_t Minor

34 = Axial stability coefficient, Phi Major

35 = Axial stability coefficient, Phi Minor

36 = Flexural stability coeff, Phi_bMajor

37 = Flexural stability coeff, Phi_bMinor

38 = Plasticity factor, Gamma Major

39 = Plasticity factor, Gamma Minor

40 = Section influence coefficient, Eta

41 = B/C capacity factor, Eta

42 = Euler moment factor, Delta Major

43 = Euler moment factor, Delta Minor

44 = Yield stress, Fy

45 = Allowable normal stress, f

46 = Allowable shear stress, fv

47 = Consider fictitious shear

48 = Demand/capacity ratio limit

49 = Dual system magnification factor

50 = Lo/r limit in compression

51 = L/r limit in tension

Value

The value of the considered overwrite item.

1 = Framing type

0 = As specified in preferences

1 = Sway Moment Frame, SMF

2 = Concentrically Braced Frame, CBF

3 = Eccentrically Braced Frame, EBF

4 = NonSway Moment Frame, NMF

2 = Element type

0 = Program Determined

1 = Column

2 = Beam

3 = Brace

4 = Truss

3 = Is transfer column

0 = Program Determined

1 = No

2 = Yes

4 = Seismic magnification factor

Value >= 0; 0 means no check for this item.

5 = Is rolled section

0 = Program Determined

1 = No

2 = Yes

6 = Is flange edge cut by gas

0 = Program Determined

1 = No

2 = Yes

7 = Is both end pinned

0 = Program Determined

1 = No

2 = Yes

8 = Ignore b/t check

0 = Program Determined

1 = No

2 = Yes

9 = Classify beam as flexo-compression member

0 = Program Determined

1 = No

2 = Yes

10 = Is beam top loaded

0 = Program Determined

1 = No

2 = Yes

11 = Consider deflection

0 = Program Determined

1 = No

2 = Yes

12 = Deflection check type

0 = Program default

1 = Ratio

2 = Absolute

3 = Both

13 = DL deflection limit, L/Value

Value >= 0; 0 means no check for this item.

14 = SDL + LL deflection limit, L/Value

Value >= 0; 0 means no check for this item.

15 = LL deflection limit, L/Value

Value >= 0; 0 means no check for this item.

16 = Total load deflection limit, L/Value

Value >= 0; 0 means no check for this item.

17 = Total camber limit, L/Value

Value >= 0; 0 means no check for this item.

18 = DL deflection limit, absolute

Value >= 0; 0 means no check for this item. [L]

19 = SDL + LL deflection limit, absolute

Value >= 0; 0 means no check for this item. [L]

20 = LL deflection limit, absolute

Value >= 0; 0 means no check for this item. [L]

21 = Total load deflection limit, absolute

Value >= 0; 0 means no check for this item. [L]

22 = Total camber limit, absolute

Value >= 0; 0 means no check for this item. [L]

23 = Specified camber

Value >= 0. [L]

24 = Net area to total area ratio

Value >= 0; 0 means use program default value.

25 = Live load reduction factor

Value >= 0; 0 means use program determined value.

26 = Unbraced length ratio, Major

Value >= 0; 0 means use program determined value.

27 = Unbraced length ratio, Minor Lateral Torsional Buckling

Value >= 0; 0 means use program determined value.

28 = Effective length factor, Mue Major

Value >= 0; 0 means use program determined value.

29 = Effective length factor, Mue Minor

Value >= 0; 0 means use program determined value.

30 = Moment coefficient, Beta_m Major

Value >= 0; 0 means use program determined value.

31 = Moment coefficient, Beta_m Minor

Value >= 0; 0 means use program determined value.

32 = Moment coefficient, Beta_t Major

Value >= 0; 0 means use program determined value.

33 = Moment coefficient, Beta_t Minor

Value >= 0; 0 means use program determined value.

34 = Axial stability coefficient, Phi Major

Value >= 0; 0 means use program determined value.

35 = Axial stability coefficient, Phi Minor

Value >= 0; 0 means use program determined value.

36 = Flexural stability coefficient, Phi_b Major

Value >= 0; 0 means use program determined value.

37 = Flexural stability coefficient, Phi_b Minor

Value >= 0; 0 means use program determined value.

38 = Plasticity factor, Gamma Major

Value >= 0; 0 means use program determined value.

39 = Plasticity factor, Gamma Minor

Value >= 0; 0 means use program determined value.

40 = Section influence coefficient, Eta

Value >= 0; 0 means use program determined value.

41 = B/C capacity factor, Eta

Value >= 0; 0 means use program determined value.

42 = Euler moment factor, Delta Major

Value >= 0; 0 means use program determined value.

43 = Euler moment factor, Delta Minor

Value >= 0; 0 means use program determined value.

o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 8 8 p x ; " > 4 4 = Y i e l d s t r e s s , F y / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 2 0 p x ; " > V a l u e &g t ; = 0 ; 0 m e a n s u s e p r o g r a m d e t e r m i n e d v a l u e . [ F / L s u p > 2 / s u p > ] / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 1 2 p x ; " > / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 8 8 p x ; " > 4 5 = A l l o w a b l e n o r m a l s t r e s s , f / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 2 0 p x ; " > V a l u e &g t ; = 0 ; 0 m e a n s u s e p r o g r a m d e t e r m i n e d v a l u e . [ F / L s u p > 2 / s u p > ] / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 1 2 p x ; " > / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 8 8 p x ; " > 4 6 = A l l o w a b l e s h e a r s t r e s s , f v / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 2 0 p x ; " > V a l u e &g t ; = 0 ; 0 m e a n s u s e p r o g r a m d e t e r m i n e d v a l u e . [ F / L s u p > 2 / s u p > ] / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 1 2 p x ; " > / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 8 8 p x ; " > 4 7 = C o n s i d e r f i c t i t i o u s s h e a r / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 2 0 p x ; " > 0 = P r o g r a m D e t e r m i n e d / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 2 0 p x ; " > 1 = N o / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 2 0 p x ; " > 2 = Y e s / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 1 1 2 p x ; " > / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : . 0 0 0 1 p t ; m a r g i n - l e f t : 8 8 p x ; " > 4 8 = D e m a n d / c a p a c i t y r a t i o l i m i t / p > 
 p c l a s s = " P a r a m e t e r D e s c r i p t i o n " s t y l e = " m a r g i n - t o p : 0 i n ; m a r g i n - r i g h t : 0 i n ; m a r g i n - b o t t o m : 9 p t ; m a r g i n - l e f t : 1 2 0 p x ; " > V a l u e &g t ; = 0 ; 0 m e a n s u s e p r o g r a m d e t e r m i n e d v a l u e . / p > 
 p c l a s s = " P a r a m e t e r N a m e D e s c r i p t i o n " s t y l e = " m a r g i n - b o t t o m : 0 p t ; m a r g i n - l e f t : 8 8 p x ; " > 4 9 = D u a l s y s t e m m a g n i f i c a t i o n f a c t o r / p > 
 p c l a s s = " P a r a m e t e r N a m e D e s c r i p t i o n " s t y l e = " m a r g i n - l e f t : 8 8 p x ; " > V a l u e &g t ; = 0 ; 0 m e a n s u s e p r o g r a m d e f a u l t v a l u e . / p > 
 p c l a s s = " P a r a m e t e r N a m e D e s c r i p t i o n " s t y l e = " m a r g i n - b o t t o m : 0 p t ; m a r g i n - l e f t : 8 8 p x ; " > 5 0 = L o / r l i m i t i n c o m p r e s s i o n / p > 
 p c l a s s = " P a r a m e t e r N a m e D e s c r i p t i o n " s t y l e = " m a r g i n - l e f t : 8 8 p x ; " > V a l u e &g t ; = 0 ; 0 m e a n s u s e p r o g r a m d e t e r m i n e d v a l u e . / p > 
 p c l a s s = " P a r a m e t e r N a m e D e s c r i p t i o n " s t y l e = " m a r g i n - b o t t o m : 0 p t ; m a r g i n - l e f t : 8 8 p x ; " > 5 1 = L / r l i m i t i n t e n s i o n / p > 
 p c l a s s = " P a r a m e t e r N a m e D e s c r i p t i o n " s t y l e = " m a r g i n - l e f t : 8 8 p x ; " > V a l u e &g t ; = 0 ; 0 m e a n s u s e p r o g r a m d e t e r m i n e d v a l u e . / p > 
 p c l a s s = " P a r a m e t e r N a m e " > P r o g D e t / p > 
 p c l a s s = " C o m m e n t " > I f t h i s i t e m i s T r u e , t h e s p e c i f i e d v a l u e i s p r o g r a m d e t e r m i n e d . / p > 
 h 2 > R e m a r k s / h 2 > 
 p c l a s s = " C o m m e n t " > T h i s f u n c t i o n r e t r i e v e s t h e v a l u e o f a s t e e l d e s i g n o v e r w r i t e i t e m . / p > 
 p c l a s s = " C o m m e n t " > T h e f u n c t i o n r e t u r n s z e r o i f t h e i t e m i s s u c c e s s f u l l y r e t r i e v e d ; o t h e r w i s e i t r e t u r n s a n o n z e r o v a l u e . / p > 
 h 2 > V B A E x a m p l e / h 2 > 
 p c l a s s = " C o d i n g " > S u b G e t S t e e l D e s i g n O v e r w r i t e I t e m C h i n e s e _ 2 0 0 2 ( ) b r / > 
 &# 3 9 ; d i m e n s i o n v a r i a b l e s b r / > 
 D i m S a p O b j e c t A s S a p 2 0 0 0 v 1 5 . S a p O b j e c t b r / > 
 D i m S a p M o d e l A s c S a p M o d e l b r / > 
 D i m r e t A s L o n g b r / > 
 D i m V a l u e A s D o u b l e b r / > 
 D i m P r o g D e t A s B o o l e a n b r / > 
 b r / > 
 &# 3 9 ; c r e a t e S a p 2 0 0 0 o b j e c t b r / > 
 S e t S a p O b j e c t = N e w S a p 2 0 0 0 v 1 5 . S a p O b j e c t b r / > 
 b r / > 
 &# 3 9 ; s t a r t S a p 2 0 0 0 a p p l i c a t i o n b r / > 
 S a p O b j e c t . A p p l i c a t i o n S t a r t b r / > 
 b r / > 
 &# 3 9 ; c r e a t e S a p M o d e l o b j e c t b r / > 
 S e t S a p M o d e l = S a p O b j e c t . S a p M o d e l b r / > 
 b r / > 
 &# 3 9 ; i n i t i a l i z e m o d e l b r / > 
 r e t = S a p M o d e l . I n i t i a l i z e N e w M o d e l b r / > 
 b r / > 
 &# 3 9 ; c r e a t e m o d e l f r o m t e m p l a t e b r / > 
 r e t = S a p M o d e l . F i l e . N e w 2 D F r a m e ( P o r t a l F r a m e , 2 , 1 4 4 , 2 , 2 8 8 ) b r / > 
 b r / > 
 &# 3 9 ; s e t s t e e l d e s i g n c o d e b r / > 
 r e t = S a p M o d e l . D e s i g n S t e e l . S e t C o d e ( &q u o t ; C h i n e s e 2 0 0 2 &q u o t ; ) b r / > 
 b r / > 
 &# 3 9 ; r u n a n a l y s i s b r / > 
 r e t = S a p M o d e l . F i l e . S a v e ( &q u o t ; C : \ S a p A P I \ x . s d b &q u o t ; ) b r / > 
 r e t = S a p M o d e l . A n a l y z e . R u n A n a l y s i s b r / > 
 b r / > 
 &# 3 9 ; s t a r t s t e e l d e s i g n b r / > 
 r e t = S a p M o d e l . D e s i g n S t e e l . S t a r t D e s i g n b r / > 
 b r / > 
 &# 3 9 ; g e t o v e r w r i t e i t e m b r / > 
 r e t = S a p M o d e l . D e s i g n S t e e l . C h i n e s e _ 2 0 0 2 . G e t O v e r w r i t e ( &q u o t ; 8 &q u o t ; , 1 , V a l u e , P r o g D e t ) b r / > 
 b r / > 
 &# 3 9 ; c l o s e S a p 2 0 0 0 b r / > 
 S a p O b j e c t . A p p l i c a t i o n E x i t F a l s e b r / > 
 S e t S a p M o d e l = N o t h i n g b r / > 
 S e t S a p O b j e c t = N o t h i n g b r / > 
 E n d S u b / p > 
 h 2 > R e l e a s e N o t e s / h 2 > 
 p c l a s s = " C o m m e n t " > I n i t i a l r e l e a s e i n v e r s i o n 1 1 . 0 3 . / p > 
 p c l a s s = " C o m m e n t " > A d d e d I t e m s 4 9 , 5 0 , a n d 5 1 i n V e r s i o n 1 4 . 0 . 0 . / p > 
 p c l a s s = " C o m m e n t " > M o d i f i e d I t e m 1 a n d a d d e d T r u s s t o I t e m 2 i n v e r s i o n 1 4 . 1 . 0 . / p > 
 h 2 > S e e A l s o / h 2 > 
 p c l a s s = " B l o c k - T e x t " > a h r e f = " S e t O v e r w r i t e _ { S t e e l _ C h i n e s e _ 2 0 0 2 } . h t m " > S e t O v e r w r i t e / a > / p > 

 / b o d y > / h t m l >