SetPattern Method |
Sets the pattern name and pattern type for the hatch.
Signature
object.SetPattern PatternType, PatternName
Object
Hatch
The object or objects this method applies to.
PatternType
AcPatternType enum; input-only
acHatchPatternTypePreDefined |
Selects the pattern name from those defined in the acad.pat file. |
acHatchPatternTypeUserDefined |
Defines a pattern of lines using the current linetype. |
acHatchPatternTypeCustomDefined |
Selects the pattern name from a PAT file other than the acad.pat file. |
PatternName
String; input-only
The name of the pattern. Sets a default hatch pattern name of up to
34 characters, no spaces allowed. Returns "" if there is no
default. Enter a period (.) to set no default.
Remarks
The hatch pattern can be defined by one of the following options:
PreDefined: Selects the pattern name from those defined in the acad.pat file.
UserDefined: Defines a pattern of lines using the current linetype.
CustomDefined: Selects the pattern name from a PAT file other than the acad.pat file.
NOTE The SetPattern method should only be used for the active document.
Comments? |
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.