You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fabian-flassig edited this page Aug 25, 2026
·
1 revision
Removes the grain direction from a plate.
pytha.remove_grain_direction(target)
Parameter
Type
Description
target
element_handle or {...}
A part or group handle (or a table of those), or a list of edge specifications
Return value
Type
Description
number
The number of edges the grain direction was removed from
Notes:
A part or group handle removes the grain direction from every grain edge of those parts, including the edge on the opposite face.
A direction edge that was created as a free line and carries no face is deleted; an edge of the part itself only loses the attribute and returns to the main pen of the part.
Edges without a grain direction are skipped, so the return value counts the edges that actually carried one.