コード例 #1
0
void
ArxDbgDbAdeskLogo::subList() const
{
	ArxDbgDbEntity::subList();

	CString str;

	AcGeScale3d sc = scale();
	printForListCmd(_T("Scale X"), ArxDbgUtils::doubleToStr(sc.sx, str));
	printForListCmd(_T("Scale Y"), ArxDbgUtils::doubleToStr(sc.sy, str));
	printForListCmd(_T("Scale Z"), ArxDbgUtils::doubleToStr(sc.sz, str));

	ArxDbgDbAdeskLogoStyle* style;
	Acad::ErrorStatus es = acdbOpenObject(style, logoStyleId(), AcDb::kForRead);
	if (es == Acad::eOk) {
		es = style->getName(str);
		if (es != Acad::eOk)
			str = ArxDbgUtils::rxErrorStr(es);

		style->close();
	}
	else
		str = ArxDbgUtils::rxErrorStr(es);

	printForListCmd(_T("Style"), str);

	printForListCmd(_T("Arbitrary Reference"), ArxDbgUtils::objToClassAndHandleStr(m_arbitraryRefEnt, str));
}
コード例 #2
0
void
ArxDbgDbEntity::list() const
{
	AcDbEntity::list();

	CString str;

	printForListCmd(_T("Location"), ArxDbgUtils::ptToStr(location(), str));
	printForListCmd(_T("Rotation"), ArxDbgUtils::angleToStr(rotation(), str));
	printForListCmd(_T("Normal"),   ArxDbgUtils::vectorToStr(normal(), str));
}