Incorrect Wall Side Info of Wall Sweep

Anonymous

Incorrect Wall Side Info of Wall Sweep

Anonymous
Not applicable

I manually create 2 wall sweep both side of wall in Revit. Ideally one wall sweep should have Interior wall side and other should have exterior wall side.
But When I get this WallSide information from WallSweepInfo of WallSweep using APIs.

wallSweep.GetWallSweepInfo().WallSide

It always give us WallSide as Exterior.

ExteriorWallSide.JPGInteriorWallSide.JPG

 

I used below code to get all Interior Side wall WallSweeps and it gives zero result.

var doc = commandData.Application.ActiveUIDocument.Document;

var collector = new FilteredElementCollector(doc).OfClass(typeof(WallSweep)).ToElements();
var allInteriorSideWallSweep = collector.Cast<WallSweep>()
                   .Where(wallSweep => wallSweep.GetWallSweepInfo().WallSide == WallSide.Interior).ToList();

TaskDialog.Show("Number of Interior wall side Wall Sweeps : ", allInteriorSideWallSweep.Count.ToString());

Is there any way to get correct wall side information from WallSweep info?

Reply
1,033 Views
3 Replies
Replies (3)

JimJia
Alumni
Alumni

Dear Ankit Bhargava,

 

I am sorry to say I can reproduce this issue and I failed to find safe way to find interior wallsweep either.
I suggest to refer to following pages on similar question about exterior and interior sides of wall
https://thebuildingcoder.typepad.com/blog/2011/12/interior-side-of-a-wall.html

https://adndevblog.typepad.com/aec/2012/07/accessing-the-exterior-face-of-a-wall-programmatically.ht...

 

Besides, I submitted the issue list item REVIT-143050 [API failed to find Interior WallSweep - case 14987474] 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.

 

 

 


Jim Jia
Autodesk Forge Evangelist
https://forge.autodesk.com
Developer Technical Services
Autodesk Developer Network
Email: Jim.Jia@autodesk.com

Anonymous
Not applicable

I was also looking into this. Not sure if this will help but I noticed that when I used the Wall: Sweep (Architecture > Build > Wall > Wall: Sweep), all the created wall sweep are located at WallSide.Exterior.

 

But when I attached the wall sweep in wall profile, the sweep are correctly placed.

0 Likes

bartlomiej.kotulaWQDTG
Explorer
Explorer

Was that issue fixed ?

0 Likes