Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

/*****************************************************************************

object(int dummy_number, char *object_name)


{
attribute( char *attribute_name,
char *label_text,
int value_type,
char *field_format,
int special_flag,
int check_switch,
char *attribute_value_max,
char *attribute_value_min )
{
value( char *attribute_value,
int default_switch )
}
modify( int modify_type )
}
where object is part, welding or bolt
****************************************************************************/
/*--------------------------------------------------------------------------object(int *dummy_number, char *object_name)
dummy_number:
dummy parameter
object_name:
unique name for object (part || bolt || welding ...)
---------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------attribute( char *attribute_name,
char *label_text,
int value_type,
char *field_format,
int special_flag,
int check_switch,
char *attribute_value_max,
char *attribute_value_min )
attribute_name: unique name of attribute,
used for inquiring attribute value
label_text: label text shown in dialog
value_type: integer || float || string || option || label || material ||
profile || file_in || file_out || bolt_standard || bolt_size ||
ratio || strain || angle || deformation || dimension ||
radiusofinertia || area || areaperlength || sectionmodulus ||
momentofinertia || torsionconstant || warpingconstant ||
force || weight || distribload || springconstant || surfaceload
strength || modulus || density || moment || distribmoment ||
rotspringconst || temperature || thermdilatcoeff
field_format: C-like format definition for dialog field
special_flag: yes || no
For parts
: consider in numering
For drawings
: display the attribute's value in drawing list
For other elements: (no effect)
check_switch: none
attribute_value_max: allowed maximum value of attribute
attribute_value_min: allowed minimum value of attribute
---------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------value( char *attribute_value,
int default_switch )
attribute_value: value of attribute
default_switch:
In case of option menu attribute one of the values
can be set to default value. If none is set to default
the first one is taken. In case of value field
default has no meaning (value is always default).
2 for default, which is not stored to the database
1 for default, which is stored to the database
0 for no default
2 is recommended instead of 1 to avoid unnecessarily
increasing the database size.
---------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------modify( int modify_type )
modify_type:

0 modify not possible


1 modify is possible
---------------------------------------------------------------------------*/

/***************************************************************************/
/* User defined attributes for objects */
/***************************************************************************/
/***************************************************************************/
/* Part attributes */
/***************************************************************************/
part(0,"Part")
{
/* Common part attribute tab pages */
tab_page("CIS_PARAMETERS")

/***************************************************************************/
{
attribute("cisAssemType", "Assembly Type: ", label, "%s", no, none, "0.0", "0.0", 10, 0)
attribute("CISASEMTYPE", "", option, "%s", no, none, "0.0", "0.0", 150, 0, 220)
{
value("Default", 2)
value("Column", 0)
value("Beam", 0)
value("Brace", 0)
value("Truss", 0)
value("Joist", 0)
value("Slab", 0)
value("Wall", 0)
value("Stair", 0)
value("Ladder", 0)
value("Handrail", 0)
value("Plate", 0)
value("Embedment", 0)
value("Undefined", 0)
}
/* ASSEMBLY ROLE */
attribute("CISPRoleLab", "Assembly Role: ", label, "%s", no, none, "0.0", "0.0", 10, 30)
attribute("CISASEMROLE", "", string, "%s", no, none, "0.0", "0.0", 150, 30, 100)
{
value("", 0)
}
/* HEADER */
attribute("CISHEADER1", "Name ", label, "%s", no, none, "0.0", "0.0", 180, 90)
attribute("CISHEADER1", "Type ", label, "%s", no, none, "0.0", "0.0", 300, 90)
attribute("CISHEADER1", "Value", label, "%s", no, none, "0.0", "0.0", 440, 90)
/* PROPERTY 1 */
attribute("CISPLab1", "Property 1: ", label, "%s", no, none, "0.0", "0.0", 10, 120)
attribute("CISP1Name", "", string, "%s", no, none, "0.0", "0.0", 150, 120, 100)
{
value("", 0)
}
attribute("CISP1Type", "", option, "%s", no, none, "0.0", "0.0",280 , 120, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP1Val", "", string, "%s", no, none, "0.0", "0.0", 410, 120, 100)
{
value("", 0)
}
/* PROPERTY 2 */
attribute("CISPLab2", "Property 2: ", label, "%s", no, none, "0.0", "0.0", 10, 150)
attribute("CISP2Name", "", string, "%s", no, none, "0.0", "0.0", 150, 150, 100)
{
value("", 0)
}
attribute("CISP2Type", "", option, "%s", no, none, "0.0", "0.0",280 , 150, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP2Val", "", string, "%s", no, none, "0.0", "0.0", 410, 150, 100)
{
value("", 0)
}
/* PROPERTY 3*/
attribute("CISPLab3", "Property 3: ", label, "%s", no, none, "0.0", "0.0", 10, 180)
attribute("CISP3Name", "", string, "%s", no, none, "0.0", "0.0", 150, 180, 100)
{
value("", 0)
}
attribute("CISP3Type", "", option, "%s", no, none, "0.0", "0.0",280 , 180, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP3Val", "", string, "%s", no, none, "0.0", "0.0", 410, 180, 100)
{
value("", 0)
}
/* PROPERTY 4 */
attribute("CISPLab4", "Property 4: ", label, "%s", no, none, "0.0", "0.0", 10, 210)
attribute("CISP4Name", "", string, "%s", no, none, "0.0", "0.0", 150, 210, 100)
{
value("", 0)
}
attribute("CISP4Type", "", option, "%s", no, none, "0.0", "0.0",280 , 210, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP4Val", "", string, "%s", no, none, "0.0", "0.0", 410, 210, 100)

{
value("", 0)
}
/* PROPERTY 5 */
attribute("CISPLab5", "Property 5: ", label, "%s", no, none, "0.0", "0.0", 10, 240)
attribute("CISP5Name", "", string, "%s", no, none, "0.0", "0.0", 150, 240, 100)
{
value("", 0)
}
attribute("CISP5Type", "", option, "%s", no, none, "0.0", "0.0",280 , 240, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP5Val", "", string, "%s", no, none, "0.0", "0.0", 410, 240, 100)
{
value("", 0)
}
/* PROPERTY 6*/
attribute("CISPLab6", "Property 6: ", label, "%s", no, none, "0.0", "0.0", 10, 270)
attribute("CISP6Name", "", string, "%s", no, none, "0.0", "0.0", 150, 270, 100)
{
value("", 0)
}
attribute("CISP6Type", "", option, "%s", no, none, "0.0", "0.0",280 , 270, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP6Val", "", string, "%s", no, none, "0.0", "0.0", 410, 270, 100)
{
value("", 0)
}
/* PROPERTY 7 */
attribute("CISPLab7", "Property 7: ", label, "%s", no, none, "0.0", "0.0", 10, 300)
attribute("CISP7Name", "", string, "%s", no, none, "0.0", "0.0", 150, 300, 100)
{
value("", 0)
}
attribute("CISP7Type", "", option, "%s", no, none, "0.0", "0.0",280 , 300, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP7Val", "", string, "%s", no, none, "0.0", "0.0", 410, 300, 100)
{
value("", 0)
}
/* PROPERTY 8*/
attribute("CISPLab8", "Property 8: ", label, "%s", no, none, "0.0", "0.0", 10, 330)
attribute("CISP8Name", "", string, "%s", no, none, "0.0", "0.0", 150, 330, 100)
{
value("", 0)
}
attribute("CISP8Type", "", option, "%s", no, none, "0.0", "0.0",280 , 330, 100)
{
value("Text", 2)
value("Numeric", 0)
value("Integer", 0)
}
attribute("CISP8Val", "", string, "%s", no, none, "0.0", "0.0", 410, 330, 100)
{
value("", 0)
}
attribute("cisItemProp1Type", "Group Name: ", label, "%s", no, none, "0.0", "0.0", 10, 360)
attribute("CISPGRPNME", "", string, "%s", no, none, "0.0", "0.0", 150, 360, 220)
{
value("", 0)
}
picture("jbp_bs_hor_line_1", 160, 2, 16, 115)
picture("jbp_bs_hor_line_1", 160, 2, 176,115)
picture("jbp_bs_hor_line_1", 160, 2, 336,115)
}
tab_page("CIS_PARAMETERS","CIS2",17)
modify(1)
}
part(0,"Part")
{
/* Common part attribute tab pages */
tab_page("NOTES")
/***************************************************************************/
{
attribute("NOTES0_lb", "Header line", label3,"%s", no, none, "0.0", "0.0",20,0)
attribute("NOTES1_lb", "Notes line1", label3,"%s", no, none, "0.0", "0.0",20,26)
attribute("NOTES2_lb", "Notes line2", label3,"%s", no, none, "0.0", "0.0",20,52)
attribute("NOTES3_lb", "Notes line3", label3,"%s", no, none, "0.0", "0.0",20,78)
attribute("NOTES4_lb", "Notes line4", label3,"%s", no, none, "0.0", "0.0",20,104)

attribute("NOTES5_lb", "Notes line5", label3,"%s", no, none, "0.0", "0.0",20,130)


attribute("NOTES6_lb", "Notes line6", label3,"%s", no, none, "0.0", "0.0",20,156)
attribute("NOTES7_lb", "Notes line7", label3,"%s", no, none, "0.0", "0.0",20,182)
attribute("NOTES8_lb", "Notes line8", label3,"%s", no, none, "0.0", "0.0",20,208)
attribute("NOTES9_lb", "Notes line9", label3,"%s", no, none, "0.0", "0.0",20,234)
attribute("NOTES10_lb", "Notes line10", label3,"%s", no, none, "0.0", "0.0",20,260)
attribute("NOTES11_lb", "Notes line11", label3,"%s", no, none, "0.0", "0.0",20,286)
attribute("NOTES12_lb", "Notes line12", label3,"%s", no, none, "0.0", "0.0",20,312)
attribute("NOTES0", "", string, "%s", no, none, "0.0", "0.0", 150, 0, 400)
{
value("", 0)
}
attribute("NOTES1", "", string, "%s", no, none, "0.0", "0.0", 150, 26, 400)
{
value("", 0)
}
attribute("NOTES2", "", string, "%s", no, none, "0.0", "0.0", 150, 52, 400)
{
value("", 0)
}
attribute("NOTES3", "", string, "%s", no, none, "0.0", "0.0", 150, 78, 400)
{
value("", 0)
}
attribute("NOTES4", "", string, "%s", no, none, "0.0", "0.0", 150, 104, 400)
{
value("", 0)
}
attribute("NOTES5", "", string, "%s", no, none, "0.0", "0.0", 150, 130, 400)
{
value("", 0)
}
attribute("NOTES6", "", string, "%s", no, none, "0.0", "0.0", 150, 156, 400)
{
value("", 0)
}
attribute("NOTES7", "", string, "%s", no, none, "0.0", "0.0", 150, 182, 400)
{
value("", 0)
}
attribute("NOTES8", "", string, "%s", no, none, "0.0", "0.0", 150, 208, 400)
{
value("", 0)
}
attribute("NOTES9", "", string, "%s", no, none, "0.0", "0.0", 150, 234, 400)
{
value("", 0)
}
attribute("NOTES10", "", string, "%s", no, none, "0.0", "0.0", 150, 260, 400)
{
value("", 0)
}
attribute("NOTES11", "", string, "%s", no, none, "0.0", "0.0", 150, 286, 400)
{
value("", 0)
}
attribute("NOTES12", "", string, "%s", no, none, "0.0", "0.0", 150, 312, 400)
{
value("", 0)
}
}
modify(1)
}
/***************************************************************************/
/* Project attributes */
/***************************************************************************/
project(0,"Project")
{
tab_page("DETAILS","Project Details",10)
{
attribute("CLIENT_NAME", "Client Name", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("JOB_NO", "Job Number", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("STRUCTURE_NAME", "Structure Name", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("ADDRESS_1", "Address 1", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("ADDRESS_2", "Address 2", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("ADDRESS_3", "Address 3", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("DEPT_NO", "Department Number", string, "%s", no, none, "0.0", "0.0")

{
value("", 0)
}
}
modify(1)
}

/***************************************************************************/
/* Common drawing attributes*/
/***************************************************************************/
beam(2,"Beam")
{
tab_page("CIS2")
/***************************************************************************/
{
attribute("CIS2_comment", "j_comment", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_PERSON_ID", "Author ID", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_PERSON_NAME", "Author Name", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_ORG_NAME", "Author Organization Name", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_ORG_DESC", "Author Organization Description", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_REV_PERSON_ID", "Current Revision Author ID", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_REV_PERSON_NAME", "Current Revision Author Name", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_REV_ORG_NAME", "Current Revision Organization Name", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
attribute("CIS2_REV_ORG_DESC", "Current Revision Organization Description", string, "%s", no, none, "0.0", "0.0")
{
value("", 0)
}
}
modify(1)
}
/***************************************************************************/
/* Beam attributes */
/***************************************************************************/
beam(0,"Beam")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Column attributes */
/***************************************************************************/
column(0,"Column")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Beam/Orthogonal attributes */
/***************************************************************************/
beamortho(0,"Beam/orthogonal")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)

}
/***************************************************************************/
/* Twin profile attributes */
/***************************************************************************/
twinprofile(0,"Twin profile")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Contour plate attributes */
/***************************************************************************/
contourplate(0,"Contour plate")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Folded plate attributes */
/***************************************************************************/
foldedplate(0,"Folded plate")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Concrete beam attributes */
/***************************************************************************/
concrete_beam(0,"Concrete beam")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Concrete column attributes */
/***************************************************************************/
concrete_column(0,"Concrete column")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Concrete pad footing attributes
*/
/***************************************************************************/
pad_footing(0,"Pad footing")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Concrete strip footing attributes
*/
/***************************************************************************/
strip_footing(0,"Strip footing")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Concrete panel attributes
*/
/***************************************************************************/
concrete_panel(0,"Panel")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Concrete slab attributes
*/
/***************************************************************************/
concrete_slab(0,"Slab")
{
tab_page("CIS_PARAMETERS","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Drawing attributes - single part */
/***************************************************************************/
singledrawing(0,"Single-part drawing")
{

tab_page("CIS2","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Drawing attributes - assembly */
/***************************************************************************/
assemblydrawing(0,"Assembly drawing")
{
tab_page("CIS2","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Drawing attributes - GA */
/***************************************************************************/
gadrawing(0,"GA drawing")
{
tab_page("CIS2","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Drawing attributes - multi */
/***************************************************************************/
multidrawing(0,"Multi-drawing")
{
tab_page("CIS2","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}
/***************************************************************************/
/* Drawing attributes - Cast Unit drawing */
/***************************************************************************/
castunitdrawing(0,"Cast Unit drawing")
{
tab_page("CIS2","CIS2",10)
tab_page("NOTES","Notes",11)
modify(1)
}

You might also like