<?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: Fabric sheet's weird rectangles And Flip fabric sheet direction in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703956#M14416</link>
    <description>&lt;P&gt;I think it's worth adding an option/parameter to flip the fabric in future Revit versions...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 09:46:43 GMT</pubDate>
    <dc:creator>atir5UTNF</dc:creator>
    <dc:date>2023-01-25T09:46:43Z</dc:date>
    <item>
      <title>Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11687461#M14405</link>
      <description>&lt;P&gt;What are those?&lt;/P&gt;&lt;P&gt;What are they used for?&lt;/P&gt;&lt;P&gt;Why Revit don't create same things for singels Rebars?&lt;/P&gt;&lt;P&gt;Is it possible to hide them?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normal.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1164064i2F6C7874F1E4F5F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="normal.jpg" alt="normal.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to flip the fabric major and minor position relative to floor's cover.&lt;/P&gt;&lt;P&gt;I don't want to create new type for this, since those fabrics are the same and they should be same for bar schedual etc..&lt;/P&gt;&lt;P&gt;I found that it can be done if I flip the normal in the transform I give the "PlaceInHost(...)", but now those rectangles are out of the floor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flipped.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1164065iCC5F299F5577D830/image-size/large?v=v2&amp;amp;px=999" role="button" title="flipped.jpg" alt="flipped.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 08:41:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11687461#M14405</guid>
      <dc:creator>atir5UTNF</dc:creator>
      <dc:date>2023-01-18T08:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11687699#M14406</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12639127"&gt;@atir5UTNF&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Kindly, provide a &lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;minimum reproducible case&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;we can use to reproduce this behavior on our end , and maybe likely consult if need be.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank" rel="noopener"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 11:01:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11687699#M14406</guid>
      <dc:creator>caroline.gitonga</dc:creator>
      <dc:date>2023-01-18T11:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11687749#M14407</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run this mehod on the model attached.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;public void AddFabricSheetBug2(Floor floor, Document rvtDoc)
        {
            ElementId fabricTypeId = FabricSheetType.CreateDefaultFabricSheetType(rvtDoc);
            fabricType.Name = "test";
            fabricType.SetMajorLayoutAsActualSpacing(2.5 / 0.3048, 0.05 / 0.3048, 0.1 / 0.3048);
            fabricType.SetMinorLayoutAsActualSpacing(6.0 / 0.3048, 0.05 / 0.3048, 0.1 / 0.3048);

            FabricSheet fabricSheet = FabricSheet.Create(rvtDoc, floor, fabricTypeId);
            if (fabricSheet != null)
            {
                rvtDoc.Regenerate();
                fabricSheet.FabricLocation = FabricLocation.BottomOrInternal;

                Transform loc = fabricSheet.GetSheetLocation();
                XYZ curOrg = loc.Origin;
                XYZ newOrg = new XYZ(0.05 / 0.3048, 0.05 / 0.3048, curOrg.Z);

                Transform moveTo = Transform.Identity;
                moveTo.Origin = newOrg;
                moveTo.BasisX = XYZ.BasisX;
                moveTo.BasisY = XYZ.BasisY;
                moveTo.BasisZ = XYZ.BasisZ;
                fabricSheet.PlaceInHost(floor, moveTo);
            }
        }&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Jan 2023 11:22:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11687749#M14407</guid>
      <dc:creator>atir5UTNF</dc:creator>
      <dc:date>2023-01-18T11:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11690673#M14408</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11981988"&gt;@caroline.gitonga&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any new on this?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:11:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11690673#M14408</guid>
      <dc:creator>atir5UTNF</dc:creator>
      <dc:date>2023-01-19T14:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11691162#M14409</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12639127"&gt;@atir5UTNF&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Apologies for the delayed response. Unfortunately, I have not been able to successfully reproduce this behaviour on my end. I have logged this issue with my peers and engineering team for extensive and closer observation. Kindly, keep patience and I will update on any news/communication on this.&lt;/P&gt;
&lt;P&gt;Can you tell us on which Revit version you are encountering this behaviour?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 17:12:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11691162#M14409</guid>
      <dc:creator>caroline.gitonga</dc:creator>
      <dc:date>2023-01-19T17:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11691430#M14410</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11981988"&gt;@caroline.gitonga&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently using Revit 2022.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I see that I missed a line when wrote this method...&lt;/P&gt;&lt;P&gt;Add this between lines 3 and 4:&lt;/P&gt;&lt;P&gt;FabricSheetType fabricType = rvtDoc.GetElement(fabricTypeId) as FabricSheetType;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the model after I add the fabirc, in case it halps.&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6318923674112w1188h540r811" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6318923674112" data-account="6057940548001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6057940548001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6318923674112w1188h540r811');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://forums.autodesk.com/t5/video/gallerypage/video-id/6318923674112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 19:09:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11691430#M14410</guid>
      <dc:creator>atir5UTNF</dc:creator>
      <dc:date>2023-01-19T19:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11701531#M14411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12639127"&gt;@atir5UTNF&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I would suggest you use RevitLookUp on the UI to snoop on these lines upon selection. I would think these are highlights of the bounding box representing the position and geometry of an element. Kindly, try use RevitLookup and lets if it gives any information&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 12:19:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11701531#M14411</guid>
      <dc:creator>caroline.gitonga</dc:creator>
      <dc:date>2023-01-24T12:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11701647#M14412</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you open the model I atteched in the previous replay "FlipFabricModelWithFabric"?&lt;/P&gt;&lt;P&gt;Dose it look ok in your revit? or same as I see it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every fabric sheet has these rectangular boxes, added by API or from UI.&lt;/P&gt;&lt;P&gt;Someone in autodesk invest time and effort to have these rectangles on screen.&lt;/P&gt;&lt;P&gt;I wonder why, and what is their use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some bug draw those rectangles out of the host.&lt;/P&gt;&lt;P&gt;It happens when the normal(X and Y are fabric plane) of the transformation is pointing to floor's inside&lt;/P&gt;&lt;P&gt;(up for bottom fabrics and down for top fabrics).&lt;/P&gt;&lt;P&gt;When user added bottom fabric from UI, Revit adds the fabric with normal out, but I need rhe fabric flipped.&lt;/P&gt;&lt;P&gt;Is there another way to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="APIvsUI.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1166420iA9C4C922E7273842/image-size/large?v=v2&amp;amp;px=999" role="button" title="APIvsUI.jpg" alt="APIvsUI.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="APIvsUI2.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1166421iBC46D3D0C13802E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="APIvsUI2.jpg" alt="APIvsUI2.jpg" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Jan 2023 13:18:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11701647#M14412</guid>
      <dc:creator>atir5UTNF</dc:creator>
      <dc:date>2023-01-24T13:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703861#M14413</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12639127"&gt;@atir5UTNF&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We looked further into this and engaged the dev team on this scenario and below is the response they gave:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is actually a limitation of the FabricSheet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The wires on X axis ALWAYS adhere and should adhere to cover.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Z axis in FabricSheet tells the fabric where to expect the face to use when FabricSheet Location is changed to “Top/Bottom”, location which will be previewed by those rectangles. When you flip that axis to point inside the element, you tell FabricSheet to look for a cover in the opposite direction; in case of our user, outside the Floor, in which case the element searches for the opposite cover/face, finds none, stops at a predefinite location and draws the rectangles as the “Location” placeholder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The only option I see is to create a new type that is rotated by 90 degrees if the spacing between major and minor wires are not equal.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:01:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703861#M14413</guid>
      <dc:creator>caroline.gitonga</dc:creator>
      <dc:date>2023-01-25T09:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703915#M14414</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11981988"&gt;@caroline.gitonga&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those who read this post in the future:&lt;/P&gt;&lt;P&gt;Beside those rectangle, I didn't find any problem with flipping the normal, except that you have to add "CoverOffset" to the fabric by fabric thickness, since the fabric major is still closer to cover.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:27:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703915#M14414</guid>
      <dc:creator>atir5UTNF</dc:creator>
      <dc:date>2023-01-25T09:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703925#M14415</link>
      <description>Thank you for your patience and pursuit of this issue. Am glad we could get some information on it. Kindy, if you found the information valuable or helpful you may "accept solution" for future references for forum community users.</description>
      <pubDate>Wed, 25 Jan 2023 09:33:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703925#M14415</guid>
      <dc:creator>caroline.gitonga</dc:creator>
      <dc:date>2023-01-25T09:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric sheet's weird rectangles And Flip fabric sheet direction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703956#M14416</link>
      <description>&lt;P&gt;I think it's worth adding an option/parameter to flip the fabric in future Revit versions...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:46:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/fabric-sheet-s-weird-rectangles-and-flip-fabric-sheet-direction/m-p/11703956#M14416</guid>
      <dc:creator>atir5UTNF</dc:creator>
      <dc:date>2023-01-25T09:46:43Z</dc:date>
    </item>
  </channel>
</rss>

