I am trying to set a Mullion's MullionType using the Mullion.MullionType property. However I am getting the following error and I tried with every MullionType in the project. The only exception mentioned in the api docs has to do with if the mullion is locked, but i unlocked mine. Is this a bug or is there another way to set this property?
Thanks
Solved! Go to Solution.
I am trying to set a Mullion's MullionType using the Mullion.MullionType property. However I am getting the following error and I tried with every MullionType in the project. The only exception mentioned in the api docs has to do with if the mullion is locked, but i unlocked mine. Is this a bug or is there another way to set this property?
Thanks
Solved! Go to Solution.
you can set the mulliontype in the way use use.
However for inner mullions is the choice restricted in the UI, you can't choose corner-mullions.
I suspect your code throws an error because you try to assign a corner-mullion to an inner-mullion.
Valid mulliontypes for a mullion can be found in mullion.GetValidTypes();
you can set the mulliontype in the way use use.
However for inner mullions is the choice restricted in the UI, you can't choose corner-mullions.
I suspect your code throws an error because you try to assign a corner-mullion to an inner-mullion.
Valid mulliontypes for a mullion can be found in mullion.GetValidTypes();
Dear adelira,
Please make sure the mullion type you want to assign is in Mullion.GetValidTypes() as FAIR59 mentioned above.
It seems that if you want to change the mullion type of the outer mullion, there will be an exception, I can reproduce here.
I am communicating with the engineer team, will keep you updated.
Thanks for you patience and cooperation
Dear adelira,
Please make sure the mullion type you want to assign is in Mullion.GetValidTypes() as FAIR59 mentioned above.
It seems that if you want to change the mullion type of the outer mullion, there will be an exception, I can reproduce here.
I am communicating with the engineer team, will keep you updated.
Thanks for you patience and cooperation
Dear Alan Delira,
I am sorry to say that I can reproduce this issue as well.
I submitted the issue list item REVIT-124924 [Setting Mullion Type throws exception - case 13700770] on your behalf for the functionality you suggest, as this issue requires exploration and possibly a modification to our software. Please make a note of this number for future reference.
You are welcome to request an update on the status of this issue or to provide us with additional information at any time quoting this wish list item number.
This issue is important to me. What can I do to help?
This issue needs to be assessed by our engineering team, and prioritized against all of the other change requests that are outstanding. As a result any information that you can provide to influence this assessment will help. Please provide the following where possible:
• Impact on your application and/or your development.
• The number of users affected.
• The potential revenue impact to you.
• The potential revenue impact to Autodesk.
• Realistic timescale over which a fix would help you.
• In the case of a request for a new feature or a feature enhancement, please also provide detailed Use Cases for the workflows that this change would address.
This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact Change Requests. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.
Dear Alan Delira,
I am sorry to say that I can reproduce this issue as well.
I submitted the issue list item REVIT-124924 [Setting Mullion Type throws exception - case 13700770] on your behalf for the functionality you suggest, as this issue requires exploration and possibly a modification to our software. Please make a note of this number for future reference.
You are welcome to request an update on the status of this issue or to provide us with additional information at any time quoting this wish list item number.
This issue is important to me. What can I do to help?
This issue needs to be assessed by our engineering team, and prioritized against all of the other change requests that are outstanding. As a result any information that you can provide to influence this assessment will help. Please provide the following where possible:
• Impact on your application and/or your development.
• The number of users affected.
• The potential revenue impact to you.
• The potential revenue impact to Autodesk.
• Realistic timescale over which a fix would help you.
• In the case of a request for a new feature or a feature enhancement, please also provide detailed Use Cases for the workflows that this change would address.
This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact Change Requests. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.
Being able to modify the mullion types will improve multiple commands used by our drafting team and will save time and reduce risk of errors.
Has there been any progress made on this?
Thank you again, I appreciate the help.
Being able to modify the mullion types will improve multiple commands used by our drafting team and will save time and reduce risk of errors.
Has there been any progress made on this?
Thank you again, I appreciate the help.
Dear Alan Delira,
I'm communicating this with engineering team on this update, the engineering team is investigating this, will keep you updated on any progress.
Dear Alan Delira,
I'm communicating this with engineering team on this update, the engineering team is investigating this, will keep you updated on any progress.
Got this to work.
Instead of using the MullionType property I just used the Symbol property. Granted the mullion first needs to be unpinned. Something along the lines of this.
if(mullion.Pinned)
{
mullion.Pinned = false;
mullion.Symbol = AnotherMullionSymbol;
}
Got this to work.
Instead of using the MullionType property I just used the Symbol property. Granted the mullion first needs to be unpinned. Something along the lines of this.
if(mullion.Pinned)
{
mullion.Pinned = false;
mullion.Symbol = AnotherMullionSymbol;
}
Can't find what you're looking for? Ask the community or share your knowledge.