Comments (6)
Thanks for the report, @timglewis !
Do you know if this type of family used to work before?
Possibly related to #2337 #1436 #1915
from speckle-sharp.
We haven't tried previous versions for this element so I can't confirm if it's a regression.
It does appear to be similar to #2337
from speckle-sharp.
Hi @timglewis,
Sometimes Revit has multiple display meshes for an object. One (or more) default and then one (or more) view specific. I wonder if the image of the cable tray in the Revit modeling space is a view-specific mesh, and the one in the Speckle viewer is the default mesh.
Try sending to Speckle using the view filter
this will send the cable tray's mesh as the view specific mesh. I'm not completely sure this is the issue, but give it a shot and let me know if that shows up correctly.
Also make sure you are on the connector version 2.15 (or newer)
from speckle-sharp.
Hi @connorivy,
I work with @timglewis and have just tested out your suggestion. It looks like upgrading the speckle connector to the latest and specifying the view to select has resolved the issue.
Looking into this a bit further it seems that when you change the 'Detail Level' in Revit from fine to medium, the simplified mesh is shown, so based on what you're saying it appears speckle exports the Medium detail level by default. Is there a way to specify the level of detail to export in the speckle connector settings, or is exporting a specific view the only solution at this stage?
from speckle-sharp.
Hi @katelewis13
That is good insight. I looked into this and what I found appears to be a bug (or maybe a quirk) with the Revit api. If you look at our CableTrayToSpeckle method you'll see the line where we assign the display value
displayValue = GetElementDisplayValue(revitCableTray, SolidDisplayValueOptions)
And the SolidDisplayValueOptions is defined as
public Options SolidDisplayValueOptions = new Options()
{
DetailLevel = ViewDetailLevel.Fine,
ComputeReferences = true
};
As you can see, the Revit api allows you to retrieve meshes with a given detail level, but our detail level is already set to ViewDetailLevel.Fine. I double checked this with the very helpful RevitLookup tool and I saw the same thing. I guess revit considers this geometry to be view specific and therefore will not give the correct view unless you use view-specific geometry retrieval.
from speckle-sharp.
Closing as a revit limitation
from speckle-sharp.
Related Issues (20)
- feat(archicad): Add certification to "ConnectorArchicad.exe"
- feat(archicad): Update connector icon on Mac HOT 1
- feat(archicad): Add default commit message
- Civil connector will not allow selection of corridors to push
- Revit floors with slab shape points
- Bug: Rhino Converter throws an error when unnamed collections are filtered HOT 2
- Revit Connector: doesn't apply ParameterUpdater using applicationId HOT 1
- bug(Archicad): Properties of Objects not showing in viewer HOT 2
- Broken link to DesktopUI
- Extend Pipe and Structure properties sent from C3D to facilitate mapping in other software (Revit) HOT 3
- Archicad: Properties are not showing in viewer
- Pushing Civil 3D Corridor shows an error HOT 1
- Revit connector does not import spaces when the zone of space is null
- Revit: Area of cut openings such as windows and walls in host elements is not available when converted.
- GSA grasshopper plugin cannot setup under ConnectorGrasshopper 2.19.1 HOT 1
- Bug: Revit pipes failing to export when MEPSystem is null
- Installing Civil 3D Connector breaks custom subassemblies HOT 2
- Bug: Excel Connector hangs when loading some commits HOT 1
- Civil3D: Extended pset names overriden while receiving data from Speckle HOT 2
- Revit Connector: Gutters not converted when sending "everything" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speckle-sharp.