Ejemplo n.º 1
0
        protected override string BuildStringSTEP(ReleaseVersion release)
        {
            string str = base.BuildStringSTEP(release) + ",(" + ParserSTEP.IntToString(mUMultiplicities[0]);

            for (int jcounter = 1; jcounter < mUMultiplicities.Count; jcounter++)
            {
                str += "," + ParserSTEP.IntToString(mUMultiplicities[jcounter]);
            }
            str += "),(" + ParserSTEP.IntToString(mVMultiplicities[0]);
            for (int jcounter = 1; jcounter < mVMultiplicities.Count; jcounter++)
            {
                str += "," + ParserSTEP.IntToString(mVMultiplicities[jcounter]);
            }
            str += "),(" + ParserSTEP.DoubleToString(mUKnots[0]);
            for (int jcounter = 1; jcounter < mUKnots.Count; jcounter++)
            {
                str += "," + ParserSTEP.DoubleToString(mUKnots[jcounter]);
            }
            str += "),(" + ParserSTEP.DoubleToString(mVKnots[0]);
            for (int jcounter = 1; jcounter < mVKnots.Count; jcounter++)
            {
                str += "," + ParserSTEP.DoubleToString(mVKnots[jcounter]);
            }
            return(str + "),." + mKnotSpec.ToString() + ".");
        }
Ejemplo n.º 2
0
        protected override string BuildStringSTEP()
        {
            string str = base.BuildStringSTEP() + "," + ParserSTEP.LinkToString(mOwningUser) + "," + ParserSTEP.LinkToString(mOwningApplication) + ",";

            if (mState == IfcStateEnum.NA)
            {
                str += "$";
            }
            else
            {
                str += "." + mState.ToString() + ".";
            }
            return(str + ",." + (mDatabase.mRelease == ReleaseVersion.IFC2x3 && mChangeAction == IfcChangeActionEnum.NOTDEFINED ? IfcChangeActionEnum.NOCHANGE : mChangeAction).ToString() + ".," + ParserSTEP.IntOptionalToString(mLastModifiedDate) + ","
                   + ParserSTEP.LinkToString(mLastModifyingUser) + "," + ParserSTEP.LinkToString(mLastModifyingApplication) + "," + ParserSTEP.IntToString(mCreationDate));
        }
Ejemplo n.º 3
0
        protected override string BuildStringSTEP(ReleaseVersion release)
        {
            string str = base.BuildStringSTEP(release) + ",#" + mOwningUser.Index + ",#" + mOwningApplication.Index + ",";

            if (mState == IfcStateEnum.NOTDEFINED)
            {
                str += "$";
            }
            else
            {
                str += "." + mState.ToString() + ".";
            }
            return(str + ",." + (release < ReleaseVersion.IFC4 && mChangeAction == IfcChangeActionEnum.NOTDEFINED ? IfcChangeActionEnum.NOCHANGE : mChangeAction).ToString() + ".," + ParserSTEP.IntOptionalToString(mLastModifiedDate) + ","
                   + ParserSTEP.ObjToLinkString(mLastModifyingUser) + "," + ParserSTEP.ObjToLinkString(mLastModifyingApplication) + "," + ParserSTEP.IntToString(mCreationDate));
        }
Ejemplo n.º 4
0
 protected override string BuildStringSTEP(ReleaseVersion release)
 {
     return(base.BuildStringSTEP(release) + "," + ParserSTEP.LinkToString(mUnit) + "," + ParserSTEP.IntToString(mExponent));
 }
Ejemplo n.º 5
0
 protected override string BuildStringSTEP(ReleaseVersion release)
 {
     return("#" + mUnit.StepId + "," + ParserSTEP.IntToString(mExponent));
 }