Jump to content
Developer Wiki and Function Reference Links ×

Editing the path: Difference between an extrude-along-path and 3D-path PIO


Recommended Posts

Hello,

I am having the following issue (VW 2014 SP4):

When editing the path of an extrude-along-path object, the lines of the whole drawing are shown greyed (see attached screenshot).

When editing the path of my 3D-Path-PIO only the path is shown. It's hard using the PIO because you don't see the rest of the drawing when editing the path.

I tested with this small sample code, and theres the issue too. Tried different projections (2D or 3D, Requires 2D, Requires 3D) but it didn't help. What am I missing?

PROCEDURE Test3DPath;

VAR

objName : STRING;

pathHd, objHd, objrecHd, wHd : HANDLE;

Procedure DrawTheTest(aPath : Handle);

VAR

i : integer;

aV : Vector;

Begin

for i := 1 to GetVertNum(aPath) do

begin

GetPolyPt3D(aPath, i-1, aV.x, aV.y, aV.z);

Locus3D(aV.x, aV.y, aV.z);

end;

End;

Procedure DrawTest3DPath;

VAR

result : BOOLEAN;

BEGIN

result:= GetCustomObjectInfo(objName,objHd,objrecHd,wHd);

IF result THEN BEGIN

pathHd:= GetCustomObjectPath(objHd);

IF pathHd <> NIL THEN BEGIN

DrawTheTest(pathHd);

END

ELSE AlrtDialog('Error');

END;

End;

BEGIN

SetPref(407,TRUE);

DrawTest3DPath;

END;

Run(Test3DPath);

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...