Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
some really basic question i cant find an solution.
normally on programming you can add value to parameter by += / -=.
when it related to works with "Set" parameter method it a little bit different because the method expected to specific value and that force me to use the content below :
temp = E.LookupParameter("Area").AsDouble();
E.LookupParameter("Area").Set(temp+new value);i will expected for something like that:
E.LookupParameter("Area").Set(+=new value);
another question.
looking for the right way to reset some parameter without looping.
foreach(Wall zeroWall in walls)
{
zeroWall.LookupParameter("Area").Set(0)
}is that the right way to do that?
Thnaks
Solved! Go to Solution.