Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

BOM Report - Relations and Parameters

SkipVince

New member
If someone can please advise me on what I'm trying to do. I want to extract a parameter I create called "COST" and use the syntax from "Relations and Operations" to be used in the custom BOM report.xsl


I have modified the original syntax and stripped it down to this bit of code I wish to refine even further.





<!-- ====================Here the info for the relation and parameters script is located @featinfo_opers.xsl =================================== -->


<xsl:template name="FullInfoType">


<xsl:param name="InfoType" select="'Local'"/>



<xsl:choose>
<xsl:when test="$InfoType='Local'">
<xsl:value-of select="'local params'"/>




</xsl:when>
</xsl:choose>
</xsl:template>





This bit of syntax calls forALL local parameters to be listed.I onlywant it to locate COSTin the local parametersand list the parameter called "COST" and it's CURRENT VALUE








Thanks for any and ALL help
 

Sponsor

Articles From 3DCAD World

Back
Top