Direct Shape vs Family Type/Instance

i tried below nodes:

DirectShape.ByGeometry works OK, but it won’t display in Revit project browser, how to add value to parameters, etc

OOTB FamilyType.ByGeometry works most of time, but how to define insertion point?

Rhythm FamilyInstances.ByGeometry and Spring Nodes FamilyInstance.ByGeometry also work most of time, i encountered the below issue (only profiles are displayed even though everything else is fine) for all 3 nodes, anyone experienced and how to fix it?

lastly, if no solution then is there a (coding) way to convert DirectShape geometry to FamilyInstance?

if i copied out all model lines to new and clean file then everything is OK, i believe it’s kind of related to coordinate system and/or Revit 20 miles limit, any better workaround or ideally fix?

seems not related to coordinate system and/or Revit 20 miles limit, before anyone including factory can find fix i’ll have to use DirectShape.ByGeometry for now

Insertion point is the minimum point of the axis aligned bounding box, without exception. For an alternative insertion point you’ll need to build a custom node.

If things only work in a new file, you shoudl closely check units, coordinate systems, and other tools. Posting a sample rvt and dyn migth help get more traction from other users, as I haven’t seen the behvior you’re describing with the OOTB nodes.

Hi @ning.zhouHNQLJ

I’m still not sure what you want, to me it looks like you want to make cable trays or other MEP runs. If you want to do it with directshape, or family geometry and assign whatever category and create read parameter…should work too…but if that’s the case then I would use system families…so…but still hard to know unless you show your whole graph…so we can see your intention

thanks jacob, insertion point is OK now after i used solid instead of polycurve for boundingbox min point.

works great in new/clean file, yet to figure out what’s causing the issue, at first i thought it was coordinate systems, but after i deleted most model elements, and purge, audit, etc., it worked again.

DirectShape works OK in dirty file so i have to settle w/ that at least for now.

thanks sovitek, we do cable routing for length estimating and also as field construction guide, currently use pipe, difficult for both modeling and field crew selecting/viewing.

1 Like

great to hear :wink: .but show your workflow…full code untill now shared here ; 9 :wink:

and cool if you not want. :wink: :wink: :wink:

arha cant really see whats goin on be sure zoom before post,but whats your issue here is your conduits in cabletray isnt in the right side and direction, rihght…not sure..but all that stuf can for sure build that way…and even with just geometry

right, below code can be optimized?

Prior to you going too far on this, i would suggest you do a quick test of a simple shape in both direct shape and as a family. I found that the direct shape does not always work how you want it to on drawings etc.

Therefore definitely give the two methods a quick test and then this will help to define the best avenue for you progress down.

thanks Brendan for the advice, our downstream output is NWC, luckily no DWG required yet.