.NET

Reply
Active Member
micaelasolda
Posts: 6
Registered: ‎06-08-2006
Message 1 of 1 (47 Views)

Change polygon pattern style

47 Views, 0 Replies
06-08-2006 02:42 AM
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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community