Exemple #1
0
		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++]);
		}
Exemple #2
0
		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; }
Exemple #3
0
		internal IfcTextStyle(IfcTextStyle v) : base(v) { mTextCharacterAppearance = v.mTextCharacterAppearance; mTextStyle = v.mTextStyle; mTextFontStyle = v.mTextFontStyle; mModelOrDraughting = v.mModelOrDraughting; }