Closed pjanck closed 3 years ago
Fixes #456
getStepLine of e.g. IfcSIUnit should now correctly return * for its first attribute in STEP serialization:
getStepLine
IfcSIUnit
*
/*! * \brief Returns the STEP serialization. * * \return #ID=IfcSIUnit(<attributes>); */ const std::string IfcSIUnit::getStepLine() const { std::string classname = this->classname(); boost::to_upper(classname); std::string stepLine = this->getStepParameter() + "=" + classname + "("; stepLine += "*,"; // Dimensions is a qualified attribute of IfcSIUnit stepLine += UnitType.getStepParameter() + ","; stepLine += Prefix.getStepParameter() + ","; stepLine += Name.getStepParameter() + ");"; return stepLine; }
Fixes #456
getStepLine
of e.g.IfcSIUnit
should now correctly return*
for its first attribute in STEP serialization: