Message 1 of 7
worldDraw() question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I have a few questions regarding worldDraw():
1. please consider:
class A : public AcDbEntity { };//custom class
class B : public AcDbEntity { };//custom class
class C : public AcDbEntity {
A a;
B b;
public: double f;
}
Does acad call a.worldDraw() or does C::worldDraw() have to (optionally) do it? The same question for dwgIn/OutFields().
Does b.worldDraw() have access to f?
2. To display a hatch inside a.worldDraw(), is there a hatch() function callable from there, or do I have to embed an AcDbHatch object inside my custom object?
Thanks
alex
I have a few questions regarding worldDraw():
1. please consider:
class A : public AcDbEntity { };//custom class
class B : public AcDbEntity { };//custom class
class C : public AcDbEntity {
A a;
B b;
public: double f;
}
Does acad call a.worldDraw() or does C::worldDraw() have to (optionally) do it? The same question for dwgIn/OutFields().
Does b.worldDraw() have access to f?
2. To display a hatch inside a.worldDraw(), is there a hatch() function callable from there, or do I have to embed an AcDbHatch object inside my custom object?
Thanks
alex