Jump to content
Developer Wiki and Function Reference Links ×

Section Solids


Recommended Posts

Is there a Vectorscript function for the "Section Solids..." menu command?

I have found the corresponding Vectorscript functions for "Add Solids", "Subtract Solids", and "Intersect Solids", but have not found one for "Section Solids". Does it exist?

I observed that when you Export Vectorscript, if there is a solid section object in the document, the Vectorscript file is corrupted and cannot be re-imported.

The pattern appears to go like this:

for an Added Solid, Intersected Solid, or Subtracted Solid...

var

tempHandle, tempHandle1, tempHandle2: handle;

result: integer;

result:= AddSolid(tempHandle, tempHandle1, tempHandle2);

result:= SubtractSolid(tempHandle, tempHandle1, tempHandle2);

result:= IntersectSolid(tempHandle, tempHandle1, tempHandle2);

For Section Solid I would expect the same thing...

result:= SectionSolid(tempHandle, tempHandle1, tempHandle2);

Instead the line is written like this:

tempHandle, tempHandle1, tempHandle2);

Is there a way around this issue using Vectorscript?

-Rick Francken

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...