I am working with the dreaded Revit file. How do I break link composites?
Announcement
Collapse
No announcement yet.
Link Composite
Collapse
X
-
Link Composite
Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Tags: None
-
no, not in this caseOriginally posted by Drachen View PostI've worked with linked Revit files once or twice. I think converting them to Editable Mesh will break the link.Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
-
There's some "CAD Cleanup" scripts around that do this, You'll have to try a few of them. I can't remember which one worked, but I know I found on on Scriptspot bobby. Convertting the objects doesn't work. I've tried. Unparenting makes them scatter like crazy. Check scriptspot and let me know which worked.Colin Senner
Comment
-
-
I tried those earlier and they toss things in all kinds of directions.Originally posted by paolo242 View PostBobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
-
They are both the same, correct?Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
-
I use the second one all the time, but the first one seems to be the same, or at least I'm not seeing it after I install it.Last edited by glorybound; 17-03-2014, 07:46 AM.Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
-
It might be because the imported objects have instanced controllers. Try this:
Code:( clearListener() mapped fn unlink obj = ( if isKindOf obj.parent LinkComposite do ( obj.transform.controller = copy obj.transform.controller obj.parent = undefined ) ) unlink (getCurrentSelection()) )
Last edited by DanielBrew; 17-03-2014, 05:15 AM.Dan Brew
Comment
-
Bobby, I didn't know if you had this fixed, but I found an old script I used to do this back in the day:
Run it, it'll be under "ColinScripts" see if that works for you.
It acts on your current selection, so Ctrl+a to select all your scene to fix linkcomposites.
Code:macroScript DWG_cleanup Category: "ColinScripts" Tooltip: "Clean DWG import-ColinEdit" Icon:#("Particles",1) /* by Jon Seagull, 2005 scripts@jonseagull.com uses some code from a macroscript called transform_unique by Yves Adam Acts on current selection, and: Removes bylayer wirecolors Removes any white wirecolors (changes to layer color, or to orange if layer is also white) Removes Block/Style Parents Condenses selection to a single new layer */ ( --collect objects --objs = for i in selection where ((try(i.wirecolor)catch(undefined))!= undefined) collect i -- Colin's Edit max create mode disableSceneRedraw() objs = for i in selection where ((isProperty i #wirecolor) != false) collect i --make new layer theLayer = Layermanager.newlayer() st = timestamp() for i in objs do ( --transform unique i.transform.controller = prs() --unlink block children if classof i.parent == LinkComposite do i.parent = undefined --remove bylayer wirecolors i.colorbylayer = false i.wirecolor = if i.layer.wirecolor != white then i.layer.wirecolor \ else if i.wirecolor != white then i.wirecolor \ else orange --assign to new layer theLayer.addnode i ) --delete blocks for i in objs where (classof i == LinkComposite) do delete i format "% ms\n" (timestamp()-st) max hide selection enableSceneRedraw() )
Colin Senner
Comment
-
I'll try, thanks!Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
-
I get an error:
--Runtime error: Cannot set matrix3 property: controllerBobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
Comment