ImportEPS
 
 
 

ImportEPS

Description

Imports an EPS file as a curvelist object. This command is accessed through the main menu, under File->Import->EPS.

This command supports the downloading of files off the internet. If the filename specified is a URL then the file will be downloaded locally before the command is executed.

Note: This command uses output arguments. C# and some scripting languages (such as JScript, PerlScript and Python) don't support arguments passed by reference so you need to use the best workaround for your situation:

For scripting languages this command returns an ISIVTCollection which you can use to get the output arguments.

For C# you can use the XSIApplication.ExecuteCommand method to call this command. ExecuteCommand packs the output arguments into a C# System.Object containing an Array of the output arguments (see Calling Commands from C#).

Scripting Syntax

ImportEPS( FileName, [Parent], [UpdateSelection], [Value] );

Parameters

Parameter Type Description
FileName String Name of EPS file to import
Parent String Object or model to use as the parent of the imported IGES object
UpdateSelection Boolean True if you want the new object to be selected

Default Value: True

Value X3DObject Returns the object