JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.PromptEntityOptions.addAllowedClass Function

Autodesk.AutoCAD.js

JavaScript
function Acad.PromptEntityOptions.addAllowedClass(className,exactMatch);
Parameters 
Description 
className 
name of allowed class 
exactMatch 
boolean for exact type 

Use this method to add type to the internal list of classes allowed for the selection.
If exactMatch is true, then only objects of the exact class type are allowed. Otherwise,objects of the specified type and of any derived types are allowed. If type is already in the class list, the value of exactMatch is applied to the existing class entry.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!