internal static void parseFields(IfcTextStyle s, List<string> arrFields, ref int ipos,Schema schema) { IfcPresentationStyle.parseFields(s, arrFields, ref ipos); s.mTextCharacterAppearance = ParserSTEP.ParseLink(arrFields[ipos++]); s.mTextStyle = ParserSTEP.ParseLink(arrFields[ipos++]); s.mTextFontStyle = ParserSTEP.ParseLink(arrFields[ipos++]); if (schema != Schema.IFC2x3) s.mModelOrDraughting = ParserSTEP.ParseBool(arrFields[ipos++]); }
internal static IfcTextStyle Parse(string strDef,Schema schema) { IfcTextStyle s = new IfcTextStyle(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return s; }
internal IfcTextStyle(IfcTextStyle v) : base(v) { mTextCharacterAppearance = v.mTextCharacterAppearance; mTextStyle = v.mTextStyle; mTextFontStyle = v.mTextFontStyle; mModelOrDraughting = v.mModelOrDraughting; }