.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change polygon pattern style

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
144 Views, 0 Replies

Change polygon pattern style

Hi, I have a problem to change the pattern style of a polygon with Autocad 2007 using Object ARX.
I use this code (that worked in Autocad 2006):

AcDbMPolygon *pPol= NULL;
(... I put in pPol my entity polygon)
pPol->setPattern(AcDbHatch::kPreDefined,"SOLID");
pPol->evaluateHatch(false);

When I use setPattern it give me the error Acad::eInvalidInput. What is wrong?
thanks, Micaela
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost