Commands  ›  General  ›  Rotate3 D To Orientation

Rotate3 D To Orientation

General writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document must be open. At least one element with geometry must be selectable.

After it runs

Selected elements are rotated 90° around the chosen pivot. Fittings are deleted and recreated.

When to use this

Don't use this when

Rotating to arbitrary angles (not 90°). Mirroring elements. Rotating in plan view only.

Inputs

NameKindTypeRequiredDefaultDescription
Elements selection Element[] yes Elements to rotate
"Select elements to stand up"

Returns

NameTypeDescription
RotatedCountintNumber of elements rotated
AxisDirectionstringRotation axis used

What you'll see in the chat

on start
Rotating selected elements 90°...
Standing up the selected elements...
thinking
Getting selected elements...
Waiting for pivot point selection...
Performing 90° rotation...
Reconnecting fittings...
on success
Rotated {RotatedCount} element(s) 90° around {AxisDirection}.
on failure
Rotation failed: {error}

REST API

Not yet exposed

This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:

  • POST /api/v1/commands/rotate3_dto_orientation
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

stand up · rotate 90 · flip vertical · horizontal to vertical · lay down · rotate elements
Patterns: stand up · rotate 90 · flip vertical · make vertical

PillarGeneral