<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Slope in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9920379#M29867</link>
    <description>&lt;PRE&gt;&lt;SPAN&gt;Thanks, but that's not what I'm looking for, if you notice, when I show the labels there are two values, Start Offset = null, which is the one connected to the plumbing fixture and End Offset the other is the height with respect to the level.
 I was looking through the BuiltInParameter.
 List and found these
1-BuiltInParameter.SLOPE_START_HEIGHT
2-BuiltInParameter.SLOPE_END_HEIGHT, but it doesn't work.

Aquí esta en español
Gracias, pero eso no es lo que busco, si te fijas, cuando muestro la etiquetas hay dos valores, Start Offset = cero, que es el esta conectado al mueble sanitario y el otro END Offset =es la altura con respeto al nivel
.Estuve buscando en la lista de BuiltInParameter... y encontré estos
1-BuiltInParameter.SLOPE_START_HEIGHT
2-BuiltInParameter.SLOPE_END_HEIGHT,pero no trabaja&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 07 Dec 2020 10:11:49 GMT</pubDate>
    <dc:creator>reylorente1</dc:creator>
    <dc:date>2020-12-07T10:11:49Z</dc:date>
    <item>
      <title>Slope</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9919569#M29865</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;How to extract these values, which are displayed, when the pipe is clicked?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;Here you are the image&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Son estos valores en azules" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/852872iB490062B493728CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-12-07.png" alt="Son estos valores en azules" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Son estos valores en azules&lt;/span&gt;&lt;/span&gt;&lt;/PRE&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Seleccionamos un elemento:&lt;BR /&gt;Reference referencia = uidoc.Selection.PickObject(ObjectType. Element);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Obtenemos el elemento de la referencia:&lt;BR /&gt;Element elem = doc.GetElement(referencia);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pipe pipe = (Pipe)elem;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;string param_Start_Slope = pipe.get_Parameter(BuiltInParameter....???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 22:19:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9919569#M29865</guid>
      <dc:creator>reylorente1</dc:creator>
      <dc:date>2020-12-06T22:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Slope</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9919883#M29866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6484445"&gt;@reylorente1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The parameters which you are trying to access are instance parameters.&lt;/P&gt;
&lt;P&gt;There are different ways to access instance parameters.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Method 1:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Element e;
foreach (Parameter p in e.Parameters)
            {
                //Here [e.parameters] contains all the instance parameters
               if(p.Definition.Name.Contains("Slope")||p.Definition.Name.Contains("slope"))
               {
                    string parameterName = p.Definition.Name;
                    string parameterValue = p.AsValueString();
               }
            } &lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Method 2:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Element e;
Parameter slopeParam = e.get_Parameter(BuiltInParameter.RBS_PIPE_SLOPE);
if(slopeParam!=null)
  {
    string slopeValue = slopeParam.AsValueString();
  }&lt;/LI-CODE&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 03:31:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9919883#M29866</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2020-12-07T03:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Slope</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9920379#M29867</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;Thanks, but that's not what I'm looking for, if you notice, when I show the labels there are two values, Start Offset = null, which is the one connected to the plumbing fixture and End Offset the other is the height with respect to the level.
 I was looking through the BuiltInParameter.
 List and found these
1-BuiltInParameter.SLOPE_START_HEIGHT
2-BuiltInParameter.SLOPE_END_HEIGHT, but it doesn't work.

Aquí esta en español
Gracias, pero eso no es lo que busco, si te fijas, cuando muestro la etiquetas hay dos valores, Start Offset = cero, que es el esta conectado al mueble sanitario y el otro END Offset =es la altura con respeto al nivel
.Estuve buscando en la lista de BuiltInParameter... y encontré estos
1-BuiltInParameter.SLOPE_START_HEIGHT
2-BuiltInParameter.SLOPE_END_HEIGHT,pero no trabaja&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Dec 2020 10:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9920379#M29867</guid>
      <dc:creator>reylorente1</dc:creator>
      <dc:date>2020-12-07T10:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Slope</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9920383#M29868</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;Thanks, but that's not what I'm looking for, if you notice, when I show the labels there are two values, Start Offset = null, which is the one connected to the plumbing fixture and End Offset the other is the height with respect to the level.
 I was looking through the BuiltInParameter.
 List and found these
1-BuiltInParameter.SLOPE_START_HEIGHT
2-BuiltInParameter.SLOPE_END_HEIGHT, but it doesn't work.

Aquí esta en español
Gracias, pero eso no es lo que busco, si te fijas, cuando muestro la etiquetas hay dos valores, Start Offset = cero, que es el esta conectado al mueble sanitario y el otro END Offset =es la altura con respeto al nivel
.Estuve buscando en la lista de BuiltInParameter... y encontré estos
1-BuiltInParameter.SLOPE_START_HEIGHT
2-BuiltInParameter.SLOPE_END_HEIGHT,pero no trabaja&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Dec 2020 10:12:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9920383#M29868</guid>
      <dc:creator>reylorente1</dc:creator>
      <dc:date>2020-12-07T10:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Slope</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9920474#M29869</link>
      <description>&lt;P&gt;Use RevitLookup to find the correct parameter on the instance. That will indicate the BuiltInParameter to use if applicable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll not easily find from the enum itself.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 11:18:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/slope/m-p/9920474#M29869</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2020-12-07T11:18:27Z</dc:date>
    </item>
  </channel>
</rss>

