It is something like this, this should help for the start.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BlockTableRecord btr = (BlockTableRecord)myT.GetObject(db.CurrentSpaceId,
OpenMode.ForWrite, false);
Circle MeasuringPoint = new Circle(InsertPoint, new Vector3d(0, 0, 1),
Radius);
btr.AppendEntity(MeasuringPoint);
myT.AddNewlyCreatedDBObject(MeasuringPoint, true);
ObjectIdCollection IDColl = new ObjectIdCollection();
IDColl.Add(MeasuringPoint.ObjectId);
Hatch MeasuringHatch = new Hatch();
MeasuringHatch.SetHatchPattern(HatchPatternType.PreDefined, "SOLID");
btr.AppendEntity(MeasuringHatch);
myT.AddNewlyCreatedDBObject(MeasuringHatch, true);
MeasuringHatch.Associative = true;
MeasuringHatch.AppendLoop(1, IDColl);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Roland Feletic
schrieb im Newsbeitrag
news:5126398@discussion.autodesk.com...
Hai,
Can any one tell how to use hatching for an object for example a circle
Regards,
N. siva shanmugam.