<?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: Revit Api &amp;quot;Get Warning&amp;quot; Method does not get parent elements for sk in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9195579#M38036</link>
    <description>&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2591481" target="_self"&gt;&lt;SPAN class=""&gt;Yien_Chao,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Many thanks for the code and for your help!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I slightly modified your code adding the sub group of element in order to show all elements per warning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I still cannot get it working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My results below show that the "Line in Sketch is Slightly off Axis.." Warning does not output the parent element using the&amp;nbsp; &lt;SPAN&gt;GetFailingElements and the&amp;nbsp;GetElement&lt;/SPAN&gt;&amp;nbsp;methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching also a Revit model with few floor elements which I am currently having trouble. Could you please check if you can get both failing sketch model line it and its parent floor element? Currently I can only get the model curve element and not the parent floor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!Aq7EhA3iEgyJnj1kzgVlDKaDh3s0?e=kZvERL" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!Aq7EhA3iEgyJnj1kzgVlDKaDh3s0?e=kZvERL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="image_4.JPG" style="width: 972px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706738i1FFD4C46DB4B4EE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_4.JPG" alt="image_4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import clr


# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

# Import ToDSType(bool) extension method
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.Elements)
clr.ImportExtensions(Revit.GeometryConversion)

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
doc = DocumentManager.Instance.CurrentDBDocument

data = IN

Warnings=doc.GetWarnings()

description=[]
elements=[]



for i in Warnings:
	description.append(i.GetDescriptionText ())
	x = i.GetFailingElements()
	sub=[]
	for j in x:
		sub.append(doc.GetElement(j))
	
	elements.append(sub)

OUT = [description,elements]&lt;/PRE&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>Wed, 11 Dec 2019 11:00:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-11T11:00:39Z</dc:date>
    <item>
      <title>Revit Api "Get Warning" Method does not get parent elements for sketch lines</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9193191#M38031</link>
      <description>&lt;P&gt;Dear Forum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am retrieving warning messages for quality and reviewing purposes using the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I currently have is that "&lt;SPAN&gt;GetFailingElements" Methods does not provide the parent element when warning related to a sketch line. similar to the Revit Warning List using the "Review Warnings" Revit Command. This is quite important to know, because element id of sketch lines are not possible to select by id if not being in the sketch mode receiving&amp;nbsp;the error below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_2.JPG" style="width: 362px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706283i5BA0D3625BC7AEDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_2.JPG" alt="image_2.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;I have a "Line in Sketch is slightly off axis.." error message. Going to the "&lt;SPAN&gt;Review&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;Warnings" Command I see the sketch model line Id and the parent Floor element Id.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_1.JPG" style="width: 467px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706281i639A620BF95D267D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_1.JPG" alt="image_1.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, when tracking this warning element by Revit API, it seems that parent element id is missing from the Warning list.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_3.JPG" style="width: 323px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706285iA4A8912305EDC39E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_3.JPG" alt="image_3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please confirm that Revit API functionality is currently limited on getting the parent element Id of a Warning sketch model line?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Alexandros&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 12:59:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9193191#M38031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-10T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9193227#M38032</link>
      <description>&lt;P&gt;i use the API directly, and it usually give you the warning message and both of the faulty elements.&lt;/P&gt;&lt;P&gt;dont know why the dynamo node only gets one of them.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 13:12:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9193227#M38032</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2019-12-10T13:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9193781#M38033</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you confirm if you test it in a "Line in Sketch is slightly off axis.." warning?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering what method and which environment you use ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also implemented the same using python and still getting the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code I am using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import clr&lt;BR /&gt;clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import *&lt;BR /&gt;&lt;BR /&gt;clr.&lt;SPAN&gt;AddReference&lt;/SPAN&gt;(&lt;SPAN&gt;"RevitServices"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&amp;nbsp;RevitServices&lt;BR /&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&amp;nbsp;RevitServices.Persistence&amp;nbsp;&lt;SPAN&gt;import&lt;/SPAN&gt;&amp;nbsp;DocumentManager&lt;BR /&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&amp;nbsp;RevitServices.Transactions&amp;nbsp;&lt;SPAN&gt;import&lt;/SPAN&gt;&amp;nbsp;TransactionManager&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Get the document&lt;/SPAN&gt;&lt;BR /&gt;doc = DocumentManager.Instance.CurrentDBDocument

data = IN&lt;BR /&gt;
Warnings=doc.GetWarnings()

output=[]
description=[]
elements=[]
severity=[]
failureDefinitionId =[]&lt;BR /&gt;
for i in Warnings:
	description.append(i.GetDescriptionText ())
	elements.append(i.GetFailingElements())
	severity.append(i.GetSeverity())
	failureDefinitionId .append(i.GetFailureDefinitionId ())

OUT = [description,elements,severity,failureDefinitionId]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;None of the&amp;nbsp;GetDescriptionText,&amp;nbsp;GetFailingElements,&amp;nbsp;GetSeverity and&amp;nbsp;GetFailureDefinitionId&amp;nbsp; methods provide the Parent Element of the sketch model line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alexandros&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 16:38:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9193781#M38033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-10T16:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9194069#M38034</link>
      <description>&lt;P&gt;works fine here...&lt;/P&gt;&lt;P&gt;you have to add the GetElement() method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;List=[]&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&amp;nbsp;i&amp;nbsp;&lt;SPAN&gt;in&lt;/SPAN&gt;&amp;nbsp;warn.&lt;SPAN&gt;GetFailingElements&lt;/SPAN&gt;():&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;List.&lt;SPAN&gt;append&lt;/SPAN&gt;(doc.&lt;SPAN&gt;GetElement&lt;/SPAN&gt;(i))&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 18:37:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9194069#M38034</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2019-12-10T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9194099#M38035</link>
      <description>&lt;PRE&gt;import clr


# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

# Import ToDSType(bool) extension method
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.Elements)
clr.ImportExtensions(Revit.GeometryConversion)

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
doc = DocumentManager.Instance.CurrentDBDocument

data = IN

Warnings=doc.GetWarnings()

description=[]
elements=[]



for i in Warnings:
	description.append(i.GetDescriptionText ())
	x = i.GetFailingElements()
	for j in x:
		elements.append(doc.GetElement(j))
	
	

OUT = [description,elements]&lt;/PRE&gt;&lt;P&gt;i just modified your code a little bit. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 18:47:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9194099#M38035</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2019-12-10T18:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9195579#M38036</link>
      <description>&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2591481" target="_self"&gt;&lt;SPAN class=""&gt;Yien_Chao,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Many thanks for the code and for your help!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I slightly modified your code adding the sub group of element in order to show all elements per warning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I still cannot get it working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My results below show that the "Line in Sketch is Slightly off Axis.." Warning does not output the parent element using the&amp;nbsp; &lt;SPAN&gt;GetFailingElements and the&amp;nbsp;GetElement&lt;/SPAN&gt;&amp;nbsp;methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching also a Revit model with few floor elements which I am currently having trouble. Could you please check if you can get both failing sketch model line it and its parent floor element? Currently I can only get the model curve element and not the parent floor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!Aq7EhA3iEgyJnj1kzgVlDKaDh3s0?e=kZvERL" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!Aq7EhA3iEgyJnj1kzgVlDKaDh3s0?e=kZvERL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="image_4.JPG" style="width: 972px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706738i1FFD4C46DB4B4EE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_4.JPG" alt="image_4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import clr


# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

# Import ToDSType(bool) extension method
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.Elements)
clr.ImportExtensions(Revit.GeometryConversion)

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
doc = DocumentManager.Instance.CurrentDBDocument

data = IN

Warnings=doc.GetWarnings()

description=[]
elements=[]



for i in Warnings:
	description.append(i.GetDescriptionText ())
	x = i.GetFailingElements()
	sub=[]
	for j in x:
		sub.append(doc.GetElement(j))
	
	elements.append(sub)

OUT = [description,elements]&lt;/PRE&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>Wed, 11 Dec 2019 11:00:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9195579#M38036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-11T11:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9196204#M38037</link>
      <description>&lt;P&gt;strange! it works here with your file!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 15:12:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9196204#M38037</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2019-12-11T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9201249#M38038</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="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;"&gt; &lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2591481" target="_self"&gt;&lt;SPAN style="border-bottom-color: #999999; border-bottom-style: solid; 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: normal; text-decoration: none;"&gt;Yien_Chao&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for taking the time to reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;The same script operates completely different between your and mine computer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please confirm what Dynamo and Revit Version you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that there is something else I need to look at.&amp;nbsp;&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="image_5.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/707821i88E3975B48B83324/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_5.JPG" alt="image_5.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_6.JPG" style="width: 564px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/707822i81103DB37AF11C51/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_6.JPG" alt="image_6.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_7.JPG" style="width: 599px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/707823i1342B6E38C41797B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_7.JPG" alt="image_7.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 15:38:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9201249#M38038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-13T15:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9201341#M38039</link>
      <description>&lt;P&gt;Same version here.&lt;/P&gt;&lt;P&gt;Did you try on another computer ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also trid on 2020, works fine too.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 16:16:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9201341#M38039</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2019-12-13T16:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9204676#M38040</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2591481" target="_self"&gt;&lt;SPAN class=""&gt;Yien_Chao,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;I just tried from another computer with a different user and no Dynamo packages installed&amp;nbsp; (in case this was the issue) however, I had no luck. the same issue appears&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;As previously mentioned I am using Revit 2019.2 and Dynamo&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What else would it be worth testing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are still no Floor Parent elements included at my warning list.&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="image_01.PNG" style="width: 381px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/708415i7025C29087546DF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_01.PNG" alt="image_01.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Python script as noted above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 14:49:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9204676#M38040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-16T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9204750#M38041</link>
      <description>&lt;P&gt;I meant Dynamo Core version 2.0.3.8810 and Dynamo Revit version 2.0.3.8811&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 15:24:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9204750#M38041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-16T15:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9208003#M38042</link>
      <description>&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2591481" target="_self"&gt;&lt;SPAN style="box-sizing: border-box;"&gt;Yien_Chao,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;I just I tried Revit 2020 and warnings work ok.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;However, I cannot make this working neither in Revit 2019 nor in Revit 2018. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;Would it be possible to send me your exact version of Dynamo and Revit?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;Also could you please try the above script in Revit 2018 and share any results?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;Any feedback would be really appreciated as we currently work mainly in 2018 and 2019.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;Kind regards,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Advocate lia-component-message-view-widget-author-username" style="box-sizing: border-box; color: #666666; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; 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: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;Alexandros&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:20:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9208003#M38042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-17T20:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9243946#M38043</link>
      <description>&lt;P&gt;sorry for the late reply, i was on vacation.&lt;/P&gt;&lt;P&gt;i dont have 2018 version on my pc.&lt;/P&gt;&lt;P&gt;but can assure you it works for 2019 and 2020.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 19:30:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9243946#M38043</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2020-01-10T19:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9466188#M38044</link>
      <description>&lt;P&gt;I was actually able to reproduce the issue in 2019 as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up adding some redundancy to my Dynamo package, Bang! to account for it. I know it could be done better, but it seems to work for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/johnpierson/BangForDynamo/blob/2b0936abdfd5d569cb014218bac4cab45b68a508/src/Bang/Revit/Elements/Warning.cs#L44-L73" target="_blank"&gt;https://github.com/johnpierson/BangForDynamo/blob/2b0936abdfd5d569cb014218bac4cab45b68a508/src/Bang/Revit/Elements/Warning.cs#L44-L73&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and how I heard about this issue,&amp;nbsp;&lt;A href="https://github.com/johnpierson/BangForDynamo/issues/2" target="_blank"&gt;https://github.com/johnpierson/BangForDynamo/issues/2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 21:43:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9466188#M38044</guid>
      <dc:creator>j0hnp</dc:creator>
      <dc:date>2020-04-23T21:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Api "Get Warning" Method does not get parent elements for sk</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9466274#M38045</link>
      <description>&lt;P&gt;linked the wrong code, here is the correct code&amp;nbsp;&lt;A href="https://github.com/johnpierson/BangForDynamo/blob/683407407302ddedca79b1f547fb73713b209073/src/Bang/Revit/Elements/Warning.cs#L45-L80" target="_blank"&gt;https://github.com/johnpierson/BangForDynamo/blob/683407407302ddedca79b1f547fb73713b209073/src/Bang/Revit/Elements/Warning.cs#L45-L80&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 22:35:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-api-quot-get-warning-quot-method-does-not-get-parent/m-p/9466274#M38045</guid>
      <dc:creator>j0hnp</dc:creator>
      <dc:date>2020-04-23T22:35:47Z</dc:date>
    </item>
  </channel>
</rss>

