Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reset Numeric parameter value back to 'empty'

30 REPLIES 30
Reply
Message 1 of 31
Keith_Wilkinson
15670 Views, 30 Replies

Reset Numeric parameter value back to 'empty'

I've been working through producing a curtain wall schedule and it's just about where it needs to be.  However I've noticed that for one of the conditions the schedule looks better if a paraemeter field is left empty rather than applying an integer value.

 

The thing is, for rooms where the integer value has already been applied it doesn't appear to be possible to reset this to being empty again. 

 

Anyone know if there is a way to do this?  I've tried in both a room schedule and in the room properties to delete the value that is currently inserted.

 

Cheers

 

K.



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
30 REPLIES 30
Message 2 of 31

Keith

 

Integer value for what parameter? It seems to work fine for me.

 

The room number, for instance, does what you are looking for. Simply delete the number and thats it. 

 

cheers

Alisder Brown
Senior BIM Coordinator
Scotland, UK

Message 3 of 31

Hi Alisder,

 

I have a parameter called 'ventilation type' which is assigned to rooms.  It's just an integer parameter but when I try to delete it in the schedule or in the room properties it returns the attached error...

 

 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Message 4 of 31

Without the file and additional screen shots on what you are doing and the unexpected results it will be had to troubleshoot this one. You can either attach here or I'll create an internal case and you can upload there.

 

Thank for posting.

Message 5 of 31
L.Maas
in reply to: Keith_Wilkinson

I have noticed similar behaviour in other (database) programs. When first setup a record is 'emtpy' (often 'null'). As soon as you enter a value lets say 1 and confirm it thats the value assigned. However when you want to make it empty again it refuses, because he now expects a certain valid input.

In a database they often use a 'null' value for this just meaning nothing assigend yet. Depending on the way things are programmed you as user can not set it back to 'null' and now the software expects a valid input. In case for a number or integer this means you would have to fall back to the value '0' or something.

 

If this is the case in your situation I do not know. More information from your side would be needed, exactly how and where it happens.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 6 of 31
Keith_Wilkinson
in reply to: L.Maas

Hi Alan,

 

The attached video shows the problem.  The parameter is set up as a project parameter and then assigned to walls in this case.  It's just an integer parameter.  When you initially select the wall the field is completely blank, however as soon as you assign a value and then try to delete it to return the field to being blank it returns an error.

 

Hopefully this is sufficient info to highlight the problem.

 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Message 7 of 31
L.Maas
in reply to: Keith_Wilkinson

Keith,

 

It is what I described in my previous post. As soon as you have assigned it a value you can not make it empty again.

 

You would have to take drastic measure to get it back to empty. Like delete the wall and place a new wall or delete the project parameter and add it againn.

Only certain parameters can be made empty again, like text.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 8 of 31
GPR_MN
in reply to: L.Maas

In times of Revit hardship, i turn to the lessons of battle and conflict, often extreme and regrettable.

In this instance, I would cite Officer Ripley.. Nuke it from orbit. 

 

I have equipment that managment would prefer display blank fields when they are existing, but it could be the same family type as new equipment which will need to display values in schedule. rather than creating a similar named parameter and transfering each dimension value to a new text parameter for each component and leaving the existing types blank; duplicate and rename the component, delete the parameter from the family parameters in the family editor, reload and change your element to the new modified type. if the paramter also exists as a project parameter the field should remain in the schedule but now be blank.

Message 9 of 31
rosskirby
in reply to: Keith_Wilkinson

It's one of those things you can't just undo.  When it's happened to me, I just replace the parameter value with "-" or something similar. 

Ross Kirby
Principal
Dynamik Design
www.dynamikdesign.com
Message 10 of 31
L.Maas
in reply to: rosskirby

As I mentioned in my earlier post. This is typically something used in databases, a null 'value', meaning something like nothing assigned yet. The Revit interface will not allow you to set  it back to null. When parameter is an integer it will after first assignment expect a number.

So the only possible solution I can see is set it directly in the database or using the API (Dynamo) to reset it.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 11 of 31
gsucci
in reply to: Keith_Wilkinson

see next reply.....

 

[really? cannot delete my own reply?]

Message 12 of 31
gsucci
in reply to: Keith_Wilkinson

This is a major issue in many occasions.

 

There are really no reasons why a field should not be able to return to a Null status, its just a matter of implementing this feature.

See attached screen cap, the sheet index uses an integer parameter for each issuance, so that I can black-out the cell when the value is > 0 using conditional formatting.


This is the equivalent of having the "X" or the dot in the corresponding issuance column, in an architectural set.

This allows me to also count the sheet issued for each issuance, by simply totaling the 1s in those field(s).

 

Now, this works until you only add sheets to the issuance, that is, when you go from null, (blank) to 1, however, if you make a mistake, or if a sheet is not being issued anymore, there is no way to blank out the field again.

 

So, the zero will show, compromising the whole appearance of the table.

 

Is there a way in Dynamo to reset these fields to blank?

 

Is this feature being requested and considered by Autodesk? Can we "vote" for it?

 

Thank you

Message 13 of 31
L.Maas
in reply to: gsucci

As far as I can tell there is no function in Dynamo that can do this.

 

There is a Revit Idea Station where you can post your ideas and have people vote for it.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 14 of 31
Curtis.Ridenour
in reply to: L.Maas

I agree this is an issue and should be addressed.

 

If the family parameter is a built in parameter like Cost, you can't even delete the parameter to reset it.

Message 15 of 31

I am following this thread as well.  Sometimes "empty" and "0" are really not the same thing.  In my case I have some fields in my window schedule for "simulated U value" and "simulated SHGC", which I have values for for some window types but not for all.  If I do not have a value to input, I don't want to see a zero, I want to see an empty cell.  So, if I've made a mistake and entered a value, I can't return to the innocence of the empty cell...

Message 16 of 31
ToanDN
in reply to: dubindesign

A workaround is using a calculated parameter to present on the schedule and hide the original field.

 

Capture.PNG

Message 17 of 31
krzystoff
in reply to: ToanDN

Thanks, that workaround is helpful where this problem occurs within a schedule.  

However, we also have the same Revit glitch with integers in Family Parameters, including inbuilt properties such as Walls which have acoustic/fire ratings; once the wall types have information added there is no way to remove the '0' value, deleting the parameter isn't an option and we use that same data in Wall Tags, so we're really hoping for a Revit bug fix.

Message 18 of 31
ToanDN
in reply to: krzystoff

@krzystoff

 

Which version you are using?  From 2017 you can add calculated value in Tag families the same way you do in a schedule.

Message 19 of 31
lionel.kai
in reply to: ToanDN

I created this idea: be able to reset parameter to NULL


Lionel J. Camara
BIM Manager at KAI Hawaii, Inc. - Structural and Forensic Engineers
Autodesk Certified Professional
Message 20 of 31

Fwiw, the only way I've observed a parameter value being null is immediately after it is created and has not been used...yet. That is a state of ambiguity which ordinarily Revit abhors. Once a value has been entered Revit's bias kicks in.

 

The reasoning is that an empty cell in a schedule can mean, "oops I forgot to enter a value" just as much as "nothing". It's the same reason Revit uses Yes/No instead of the common matrix dot that we've used for years.

 

Graphically it annoys the heck out of people because it isn't a pleasing to look at, however every cell has a value and it can only be yes or no. In this case it could be argued that the parameter ought to be displaying a value immediately versus being gray or disabled (null) until a value has been entered. In the case of a yes/no parameter, Revit is waiting for us to tell it which it is. Their logic is a number or integer parameter must hold a value once that bias has kicked in.

My other older self here: http://forums.autodesk.com/t5/user/viewprofilepage/user-id/46056

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report