offset#
- profile.offset(p0: float) int #
Add a value to the variable values before scaling the profile.
This command has the effect of shifting the profile up or down relative to the parent part(s).- Args:
- p0:
‘value’ value to add to the variable values before scaling
- Examples:
# # Select existing profile part # ensight.part.select_begin(3) ensight.part.modify_begin() ensight.profile.offset(1.0000e+00) ensight.profile.scale_factor(2.0000e+00) ensight.part.modify_end()
- Returns:
zero on success, non-zero on error