Skip to content

what is the 'parentNo' input mean for count object by type method #34

Answered by Rebecca-Coding21
PSARFI asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @PSARFI,
in case of base objects like member eccentricities there is no parent class. Therefore the parent_no can be set to 0 in your case:
ModelClient.get_object_count(object_types.E_OBJECT_TYPE_MEMBER_ECCENTRICITY, 0).
However e.g. for loads the parent_no is important to define the corresponding load case number (parent_no = loadcase number).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rebecca-Coding21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants