AFM_NET_LISP "Publish"

Syntax

(AFM_NET_LISP "Publish" ruleId publishType assetTypes assetTypeFileNameOverrides assetSuffixes assetLayers backgroundSuffix viewWindow namedView)

Comments

The AutoLISP API Publishing method supports publishing views of different sizes, using the two following optional parameters:

  • viewWindow : Integer. Specifies the view size method.

    The following are supported values:

    1 = Extents

    2 = Floor Boundary

    3 = Current View

    4 = Named View, making use of the ‘namedView’ parameter.

  • namedView : String. Specifies the name of the view to set the view size for publishing.

    If the namedView is empty or the specified namedView does not exist in the current drawing, then publishing proceeds, but defaulting to ‘Extents.’

AutoLISP support for publishing can be found in afm_publish.lsp .

Example

To publish the background SWF and EMF files, per a specified AutoCAD view name:

(AFM_NET_LISP "Publish" "" 4 "" "" "" "" "" 0 4 “someViewName”)