7/08/2012

Madymo-Rule Based Checker API Documentation

1 Module pyrbc.coordinate
Module for easy access of Madymo COORDINATE.* elements
Example code:
#retrieve an FE model from a Madymo deck
fe model = tree.elements by name(tree.root(),’FE MODEL’)[0]
#get all coordinate cartesian elements from this model
m = coordinate cartesian(fe model)
print "Heading: ", m.heading()
for d in m.data():
print "data: ", d

2 Module pyrbc.element
Module for easy access of Madymo ELEMENT.* elements
Example code:
#retrieve an FE model from a Madymo deck
fe model = tree.elements by name(tree.root(),’FE MODEL’)[0]
#get all line3 elements from this model
m = element line3(fe model)
print "Heading: ", m.heading()
for d in m.data():
print "data: ", d

Utility class for ELEMENT REF.QUAD4 contents under a FE MODEL parent element. The content is
the merge of corresponding data from ELEMENT REF.QUAD4 elements and tables. The heading is set to
’ID’,’PART’,’N1’,’N2’,’N3’,’N4’(’PART’,’N4’ optional)

No comments: