<?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: Dimension on Hatch Pattern Slab in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7510282#M58649</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar slab that I have hatched. I now want to display only the dimensions of the sides (length and breadth) through a small C# script. Could you please help me out?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 05:54:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-02T05:54:41Z</dc:date>
    <item>
      <title>Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7063302#M58640</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I want to get dimension on hatch pattern slab like this. But I don't know how to retrieve hatch line.&lt;/P&gt;&lt;P&gt;Please help, thanks :).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="05-May-17 10-52-26 AM.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/352844iB9052509842ECC31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="05-May-17 10-52-26 AM.png" alt="05-May-17 10-52-26 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 03:56:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7063302#M58640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-05T03:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7063430#M58641</link>
      <description>&lt;P&gt;First: Use RevitLookup to find out what elements you are after:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/RevitLookup" target="_blank"&gt;https://github.com/jeremytammik/RevitLookup&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second: Retrieve their geometry, asking for ComputeReferences = true.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Third: Create the dimensioning using the references:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/02/dimension-walls-by-iterating-faces.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/02/dimension-walls-by-iterating-faces.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/02/dimension-walls-using-findreferencesbydirection.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/02/dimension-walls-using-findreferencesbydirection.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 05:57:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7063430#M58641</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-05-05T05:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7063888#M58642</link>
      <description>&lt;P&gt;Sorry Jeremy, I can't understand what you say.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First: Use RevitLookup to find out what elements you are after:&lt;/P&gt;&lt;P&gt;= &amp;gt; I already know it 's a floor and can get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second: Retrieve their geometry, asking for ComputeReferences = true.&lt;/P&gt;&lt;P&gt;=&amp;gt; I already retrieve the solid of floor.&lt;/P&gt;&lt;P&gt;But the problem is from the solid I can't &lt;STRONG&gt;get geometry of line pattern&lt;/STRONG&gt; in floor. (to create dimension between them).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain more details, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 10:26:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7063888#M58642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-05T10:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7065328#M58643</link>
      <description>&lt;P&gt;Here my code on this project, help me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;            // Pick floor element
            IList&amp;lt;Element&amp;gt; elems = sel.PickElementsByRectangle();
            Floor fl = null;

            // Loop elems to get Floor
            foreach (Element e in elems)
            {
                if (e is Floor)
                {
                    fl = (Floor)e;
                    break;
                }
            }

            Solid s = null;
            Options o = new Options();
            o.ComputeReferences = true;
            GeometryElement geoElem = fl.get_Geometry(o);

            // Loop the geometry of Floor to get solid
            foreach (GeometryObject geoObj in geoElem)
            {
                if (s != null)
                    break;
                s = (Solid)geoObj;
            }

      // Stop here,have solid of floor but don't know how to retrieve line in fill pattern of floor :(&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 May 2017 19:01:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7065328#M58643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-05T19:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7075312#M58644</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the answer is: you cannot get the geometry objects of the hatch pattern, at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You even cannot calculate the hatch line positions manually since there is no information about origin and direction in relation to the face.&lt;/P&gt;
&lt;P&gt;Also, the&amp;nbsp; user can have edited the hatch pattern's origin by hand.&lt;/P&gt;
&lt;P&gt;Additionally, there are two kinds of fill patterns: "model" and "drawing". One of them depends on view's scale, the other not.&lt;/P&gt;
&lt;P&gt;You can analyze the related FillPattern's FillGrids, but you don't have the logical connection to the Face's coordinates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, &lt;EM&gt;no&lt;/EM&gt;, it cannot be done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 18:31:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7075312#M58644</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2017-05-10T18:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7078368#M58645</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1103138"&gt;@Revitalizer&lt;/a&gt;: you are right that there is no direct way to get to hatch lines. However we have just about enough information to construct them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had a hunch, that the reference to the surface and to the hatch lines are related. For the Reference.ConvertToStableRepresentation() you get:&lt;/P&gt;
&lt;P&gt;Surface:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 926c1621-1982-4ef6-bcbc-21fe350f0087-001f2d0b:1:SURFACE&lt;/P&gt;
&lt;P&gt;Hatch Line:&amp;nbsp; 926c1621-1982-4ef6-bcbc-21fe350f0087-001f2d0b:1:SURFACE/6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So given a StableRepresentation of a surface , you can construct a Reference to a hatch line with&lt;/P&gt;
&lt;P&gt;Reference HatchRef = Reference.ParseFromStableRepresentation(doc, StableRepresentation of Surface + "/index"), where index is an integer &amp;gt;1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The indices are distributed over the different Hatch Lines as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HatchLine_Index.PNG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/355225i7778FAA7FC0AB9B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="HatchLine_Index.PNG" alt="HatchLine_Index.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Take 2 references to a HatchLine and you can create a dimension. Once you have the dimension, you&amp;nbsp;can determine the direction and position of the&amp;nbsp;"unbound"lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code the create that dimension:&lt;/P&gt;
&lt;PRE&gt;                Floor _floor;
               Reference top =  HostObjectUtils.GetTopFaces(_floor).First();
               PlanarFace topFace =   _floor.GetGeometryObjectFromReference(top) as PlanarFace;
//check for model surfacepattern
               Material mat = doc.GetElement(topFace.MaterialElementId) as Material;
               FillPatternElement patterntype = doc.GetElement(mat.SurfacePatternId) as FillPatternElement;
               if (patterntype== null)    return   Result.Failed;
               FillPattern pattern =  patterntype.GetFillPattern();
               if (pattern.IsSolidFill || pattern.Target == FillPatternTarget.Drafting) return Result.Failed;

// get number of gridLines in pattern                
               int _gridCount = pattern.GridCount;

// construct StableRepresentations and find the Reference to HatchLines
               string StableRef = top.ConvertToStableRepresentation(doc);
               ReferenceArray _resArr = new ReferenceArray();
               for (int ip = 0; ip &amp;lt; 2; ip++)
               {
                   int index = 1 + (ip * _gridCount *2); 
                   string StableHatchString = StableRef + string.Format("/{0}", index);
                   Reference HatchRef = null;
                   try
                   {
                       HatchRef = Reference.ParseFromStableRepresentation(doc, StableHatchString);
                   }
                   catch
                   { }
                   if (HatchRef == null) continue;
                   _resArr.Append(HatchRef);
               }
// 2 or more References =&amp;gt; create dimension
                if (_resArr.Size&amp;gt;1)
                {
                    using (Transaction t = new Transaction(doc,"dimension Hatch"))
                    {
                        t.Start();
                        Dimension _dimension = doc.Create.NewDimension(doc.ActiveView, Line.CreateBound(XYZ.Zero, new XYZ(10, 0, 0)), _resArr);
// move dimension a tiny amount to orient the dimension perpendicular to the hatchlines
// I can't say why it works, but it does.
                        ElementTransformUtils.MoveElement(doc, _dimension.Id, new XYZ(.1, 0, 0));
                        t.Commit();
                    }
                }
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 19:23:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7078368#M58645</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-05-11T19:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7078935#M58646</link>
      <description>&lt;P&gt;Dear FAIR59.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got through this problem by using a FilledRegion previous set on&amp;nbsp;the floor pattern (FilledRegion dimension should be equal to one tile dimension).&lt;/P&gt;&lt;P&gt;So I can locate one tile on Floor, then create a dimension from that&amp;nbsp;to others.&amp;nbsp; So the first version pretty works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try your version later ( need time to comprehend this :D).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 01:54:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7078935#M58646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-12T01:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7079252#M58647</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if it would be possible, I would give you a &lt;STRONG&gt;double&lt;/STRONG&gt; kudo for that creative approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another gem in the "undocumented relationships" collection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Anonymous: Seems that you should &lt;EM&gt;un&lt;/EM&gt;mark my answer and mark FAIR59's instead, as solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 07:18:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7079252#M58647</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2017-05-12T07:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7146609#M58648</link>
      <description>&lt;P&gt;Totally agree this is a totally cool solution, and published it for future reference:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2017/06/hatch-line-dimensioning-voodoo.html#4" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2017/06/hatch-line-dimensioning-voodoo.html#4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much, Fair59!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 17:59:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7146609#M58648</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-06-12T17:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7510282#M58649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar slab that I have hatched. I now want to display only the dimensions of the sides (length and breadth) through a small C# script. Could you please help me out?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 05:54:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7510282#M58649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-02T05:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7519827#M58650</link>
      <description>&lt;P&gt;I have posted some code as an answer to another question , that should give you enough pointers to implement your code.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/use-of-align-function-programatically-to-change-the-alignment-of/m-p/6008184/highlight/true#M14011" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/use-of-align-function-programatically-to-change-the-alignment-of/m-p/6008184/highlight/true#M14011&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 12:04:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/7519827#M58650</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-11-06T12:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/8562287#M58651</link>
      <description>&lt;P&gt;&lt;A class="lia-link-navigation lia-page-link lia-user-name-link" id="link_36" style="background-color: transparent; box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: nowrap; word-spacing: 0px;" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2083518" target="_self"&gt;&lt;SPAN style="border-bottom-color: #999999; border-bottom-style: dashed; border-bottom-width: 1px; box-sizing: border-box; color: #444444; font-family: &amp;amp;quot; artifakt&amp;amp;quot;; font-size: 16px; font-style: normal; font-weight: 400;"&gt;FAIR59&lt;/SPAN&gt;&lt;/A&gt;, thanks so much for your solution - we've been able to use this to make a script that can interpret a ceiling tile grid based on two dimensions using your technique. Unfortunately, we've come across the problem that, using your technique, if a user has manually moved or rotated the ceiling grid &lt;STRONG&gt;prior to the script being applied,&amp;nbsp;&lt;/STRONG&gt;the dimensions created from the references apply to the original positions of the reference ceiling lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you come across this yourself? Any idea what we might do to address it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asdfghj.JPG" style="width: 887px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/597389i429D99DC8B95A0F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="asdfghj.JPG" alt="asdfghj.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 20:57:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/8562287#M58651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-30T20:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/8562586#M58652</link>
      <description>&lt;P&gt;the top and bottom of a ceiling (1 material) have their own independent hatches. You apply the dimensions to the wrong surface.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 23:10:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/8562586#M58652</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2019-01-30T23:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/8562672#M58653</link>
      <description>&lt;P&gt;Oops! Well that makes perfect sense - forgot to change the reference moving from a floor to a ceiling. Thanks for the quick response!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 00:14:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/8562672#M58653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-31T00:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9092748#M58654</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2083518"&gt;@FAIR59&lt;/a&gt;, I'd like to thank you for the innovative approach, infinity likes.&lt;/P&gt;&lt;P&gt;This works in a very cool way with dimensions, I also had a thought, I think we can use this approach to align the model pattern, by moving the floor itself, then adjusting its sketch. All by knowing the dimension position from the Dimension.Segments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:41:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9092748#M58654</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2019-10-17T15:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9093590#M58655</link>
      <description>&lt;P&gt;Now any idea about how to get the actual geometry of the gridline from Reference? Let's say to create a model line that overlaps the gridline?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 21:54:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9093590#M58655</guid>
      <dc:creator>BardiaJahan</dc:creator>
      <dc:date>2019-10-17T21:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9094159#M58656</link>
      <description>&lt;P&gt;I guess you can use&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2083518"&gt;@FAIR59&lt;/a&gt;&amp;nbsp;workaround, he draws a dimension to know where are the pattern grids, their angle, and the distance between them. Once you know that, you can use this to draw several lines (maybe unbound) then you can intersect them with the floor face edges ignoring lines outside of the floor.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:42:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9094159#M58656</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2019-10-18T08:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9094897#M58657</link>
      <description>&lt;P&gt;yes&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2083518"&gt;@FAIR59&lt;/a&gt;&amp;nbsp;'s workaround gives References to the grid lines and we can use it to create a dimension string. But I'm trying to figure out how to get XYZ coordinates of the grid line or only one point on it so that I can draw a line that overlaps the gridline.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:20:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9094897#M58657</guid>
      <dc:creator>BardiaJahan</dc:creator>
      <dc:date>2019-10-18T14:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9095579#M58658</link>
      <description>&lt;P&gt;Given a dimension from&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2083518"&gt;@FAIR59&lt;/a&gt;&amp;nbsp;method, you can get a the dimension line and the dimension segments, using the dimension line direction, a segment origin, and a segment value, you can get two parallel lines for the model pattern in XYZ coordinates. Intersect these with the floor face edges, and you have 2 grids, repeat it several times, you should have all the model pattern lines.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a look at the helper method posted by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2083518"&gt;@FAIR59&lt;/a&gt;&amp;nbsp;in this post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/use-of-align-function-programatically-to-change-the-alignment-of/m-p/7350967/highlight/true#M24949" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/use-of-align-function-programatically-to-change-the-alignment-of/m-p/7350967/highlight/true#M24949&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 19:49:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9095579#M58658</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2019-10-18T19:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension on Hatch Pattern Slab</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9095683#M58659</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6007960"&gt;@mahmoudabdelmoneam&lt;/a&gt;&amp;nbsp;&amp;nbsp;You're right, I can get the segment origin, totally forgot, today is a Friday after all!! Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 20:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-on-hatch-pattern-slab/m-p/9095683#M58659</guid>
      <dc:creator>BardiaJahan</dc:creator>
      <dc:date>2019-10-18T20:32:57Z</dc:date>
    </item>
  </channel>
</rss>

