DynamoDS / Dynamo

Open Source Graphical Programming for Design
https://dynamobim.org
Other
1.74k stars 634 forks source link

Element.GetParameterValueByName not working but Sheet.SheetNumber is working v.80 #4412

Closed marcellosgamb closed 8 years ago

marcellosgamb commented 9 years ago

Element.GetParameterValueByName not working but Sheet.SheetNumber is working v.80 image

ThorHow commented 9 years ago

Sheet.SheetNumber is working? Oh my - that's a relief! Thanks! Struggling with the same in [https://github.com/DynamoDS/Dynamo/issues/4310], should have commented here instead of course.

cgrammens commented 9 years ago

also getting this this message when trying to set parameters by name on a filtered list. it works on a the entire sheet list but not once filtered.

Warning: Internal error, please report: Dereferencing a non-pointer. (3f47aacd)

image

monikaprabhu commented 9 years ago

This is already reported in our system through forums - http://dynamobim.com/forums/topic/sheet-numbers-and-getparametervaluebyname/ We have an open bug to address this specific issue tracked at - MAGN-5870.

monikaprabhu commented 9 years ago

@cgrammens , Regarding the error on Element.SetParameterName - Definitely this is a wrong error and bug , but Sheet.SheetNumber is a wrong value to the input Element.SetParameterByName - This node sets the value of a parameter for an element and Sheet Number is a parameter not an element. I think what you are trying to do is have "Sheet" as the element and change the parameter for the same. So replace SheetNumber with Sheet.

ikeough commented 8 years ago

Internal issue has been closed. https://github.com/DynamoDS/DynamoRevit/pull/534

marcellosgamb commented 8 years ago

Fixed in 1.1v?

Sent from my iPhone

On May 2, 2016, at 9:41 PM, Ian Keough notifications@github.com<mailto:notifications@github.com> wrote:

Internal issue has been closed. DynamoDS/DynamoRevit#534https://github.com/DynamoDS/DynamoRevit/pull/534

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/DynamoDS/Dynamo/issues/4412#issuecomment-216433784

ikeough commented 8 years ago

@marcellosgamb The internal issue has been closed for a while (fixes should be available in 1.0). Are you still seeing this issue? I'm not sure from the image above if the Element.GetParameterByName is "broken" or if some of your elements just didn't have a value for that parameter.

marcellosgamb commented 8 years ago

Looks like its working now. I checked with the dailies (5-3-2016)


From: Ian Keough notifications@github.com Sent: Tuesday, May 03, 2016 7:34 AM To: DynamoDS/Dynamo Cc: marcellosgamb; Mention Subject: Re: [DynamoDS/Dynamo] Element.GetParameterValueByName not working but Sheet.SheetNumber is working v.80 (#4412)

@marcellosgambhttps://github.com/marcellosgamb The internal issue has been closed for a while. Are you still seeing this issue? I'm not sure from the image above if the Element.GetParameterByName is "broken" or if some of your elements just didn't have a value for that parameter.

You are receiving this because you were mentioned. Reply to this email directly or view it on GitHubhttps://github.com/DynamoDS/Dynamo/issues/4412#issuecomment-216605855