Jump to content
Developer Wiki and Function Reference Links ×

Inserting Text ONLY in 3D


Recommended Posts

I am trying to run a script that create an extrude with a bit of text on it that is ONLY a 3D Symbol and contains no 2D info. The extrude part is easy but I am not able to find a way to CreateText as 3D only. Is there anyway to do this? I've tried creating the text and doing a 

ResetOrientation3D;
Rotate3D(0,0,0);
Move3D(0,0,0);

but it remains a hybrid 2d/3d symbol.

Link to comment

Ah wasn't aware of that command. Works perfect. 

 

Example for anybody else:

 

PROCEDURE makeExtrude2;
BEGIN
		{ 3D EXTRUDE }
		BeginXtrd(0,STR2NUM(sHeight)); { Create extruded case }
		Rect(0",0",STR2NUM(sLength),STR2NUM(sWidth));
		EndXtrd;
		HdlExtrude:=LNewObj; { Store extrude to handle }
		
		{ ADD TEXT }
		TextSize(2);
		TextJust(2);
		TextOrigin(0,0);
		BeginText;
		'PID'
		EndText;
		HdlCasePID:=LNewObj;
		SetObjectVariableBoolean(HdlCasePID, 1160, False);
		
		
	EndSym;
	
	hdlSym:=LNewObj;
END;

 

Edited by stevenmorgan94
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...