AutoCAD Architecture :: Programmatically Add Geometry To Duct Fitting?

Jan 30, 2013

I am trying to add geometry programatically to a duct fitting.  This is because the content builder is incapable of correctly building some types of fittings.  I found some old code from an Autodesk University class that shows how to add geometry to a AEC object.  I have modified it a little to be able to work with a duct fitting but it does not work.  The code compiles fine and runs fine without any errors.  The geometry is just not added.
 
[CommandMethod("ACAClassCode", "ExModelerModifyBody", CommandFlags.Modal)] public void ModifyBody() { Database db = HostApplicationServices.WorkingDatabase; Editor ed =

[Code]....

View 1 Replies


ADVERTISEMENT

3ds Max Modeling :: Fitting Geometry Shape Into Human Body Mesh

Dec 13, 2013

I'm physiotherapist and researcher interested in human body posture analysis. Goal of my researches are to make 3d  digital model of human posture. Right now I'm using Microsoft kinect to build a human body model, but it's difficult to do automatic analysis on that mesh.  In our team we create an algorithm which analysis posture, right now we base on points located on the body, for that is necessary to manually locate that point's which is inaccurate and time consuming. Our idea is to use divide human body into segments and then fit in those segments some geometry figures ( cylinders , bal, ), next step is to calculate center of masses of those figures, so we simplify the posture to 20-40 points , and calculation of those points can be made automatic. 

View 1 Replies View Related

AutoCAD Architecture :: Define A Curtain Wall Programmatically?

Jun 8, 2011

Is it possible to define a Curtain Wall programmatically?

View 2 Replies View Related

AutoCAD Architecture :: Update Property Set Definition Programmatically

Apr 18, 2012

A way to update a property set definition programmatically?

Or via a tool palette tool.... I see there is with schedules for instance a right-click option to import a schedule style to update it... but I can't find a way to do this with property set definitions.

This would be in AutoCAD Arch (or MEP) 2012 or 2013.

View 6 Replies View Related

AutoCAD Architecture :: Sync Inventor / No Usable Geometry When Imported

Mar 21, 2013

I am wondering if there is a way that you can use the geometry from Architecture in Inventor other than just a visual concept. I am trying to create buildings in Architecture then import them into Inventor. I have tried the "Sync Inventor" command but there is no usable geometry when it is imported into Inventor. I have used Navisworks to show the building layouts but I am needing to be able to take measurements and possibly constrain to walls or other solid objects. 

View 3 Replies View Related

AutoCAD Architecture :: Create Mass Element From Imported 3DS Max Geometry

Aug 1, 2012

I've created a fairly simple mesh in 3DS Max to use as topography in ACA. I'd like to be able to turn the geometry into a mass element or even a 3D Solid so that I can use it ACA, but this doesn't seem possible. I feel like Ive tried every conversion method I know how to do but ACA doesn't seem to have this ability, or least not a very strong ability. 

View 3 Replies View Related

AutoCad 3D :: How To Draw A Piece Of Duct

Feb 11, 2013

I wanted to draw a piece of duct....a transition piece to go from circular duct to rectangular duct, and make it so that the circular is offset from the rectangular.

I didn't need anything too pro so i started with a rectangle and a circle, then started drawing a few interconnecting lines. I tried a few 3D commands, but none of my usual seemed appropriate. What loft does?

quick search on yt: [URL].....

click - click - click and it's done! i reckon the whole shape could be done in under a dozen clicks!

gave SHELL a go with it and it's exactly what i was aiming for (never thinking i would get close). i've no idea why it is called 'loft' tho!

View 6 Replies View Related

AutoCad :: Flex Duct Dynamic Block Or Add On?

Feb 7, 2013

Any dynamic block or any sort of add on for running HVAC flex duct in a drawing in AutoCAD LT 2D? I am trying to come up with any easy way to show more detailed duct work beyond just a single line.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Change Radius Value In Duct

May 17, 2013

This is a duct lisp which is i found , which code line i have to change and how for radius value ? for example if my .

" Specify first segment width value " is 1500 then i wanna be my inside fillet radius 1500 / 3 ---------------------------------------------------------------------------------------------------------------------------------------- (defun c:duct(/ actDoc Ang1 Ang2 ptLst enDist fPt lEnt lObj lPln oldVars oldWd plEnd plStart1 plStart2 prDir segLst Start stDist stLst tAng vlaPln *error*) (vl-load-com) (defun GetPlineVer(plObj) (mapcar 'cdr (vl-remove-if-not '(lambda(x)(=(car x)10)) (entget plObj))) ); end of GetPLineVer (defun asmi-PlineSegmentDataList(plObj / cLst outLst) (setq cLst (vl-remove-if-not '(lambda(x)(member(car x) '(10 40 41 42))) (entget plObj)) outLst '() ); end setq (while cLst (if(assoc 40 cLst) (progn (setq outLst (append outLst (list (list (cdr(assoc 10 cLst)) (cdr(assoc 40 cLst))
[code]............

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Double-lined Duct With Auto Text?

May 23, 2012

I have a double-lined duct lisp but I would like the duct size to automatically be inserted. Now I have to type it separately. (AutoCAD Architecture 2010)

View 8 Replies View Related

Revit :: Place HVAC Duct Work

Dec 23, 2013

I am trying to place HVAC duct work in Revit 2014, and every time I draw the duct work I get a error message: A serious error has occurred. The current action hase been canceled. It is strongly recommended you save your work in a new file before continuing.
 
Is there a "BUG" in the systems side of Revit 2014, I have downloaded the Release 1 and the service pack 2 (which that is crap also).

View 1 Replies View Related

AutoCAD Inventor :: Hose Fitting Authoring

Jan 10, 2012

I downloaded a hose fitting ipt file from the Parker website and did the Tube and Pipe Authoring thing to put it into the content center as a new family in a new read/write library. When I browse for it to use as the Start Fitting on my hose, the new family does not appear in the list. What is my problem?

The new library is checked in my Projects configuration. I have been monkeying with the NS column of the family and can't seem to get it back to its original format now.

View 8 Replies View Related

AutoCad :: Drawing Is Not Fitting Onto Paper Space?

Oct 10, 2011

when im switching my drawing into paper space and then trying to print it my drawing is massive and only small part of it id in the peper space.

View 9 Replies View Related

AutoCad :: Doubled Lines And Non Fitting Hatch

May 14, 2011

I am relatively un-practiced using AutoCAD and I am struggling with keeping my drawing in the state it was created. All of my curved lines seem to have moved or doubled so now there are two of the same very close to each other which makes the line width seem heavy. Because my curved lines are not exactly where I created them now it means that my hatching does not sit flush with its boundary. A separate issue is that when I am choosing 'pick points' to hatch, they take a very long time to select before the hatch box appears.

View 4 Replies View Related

AutoCAD 2010 :: Fitting Polyline Contour To A Curve

Nov 19, 2012

I have a sinusoidal curve, that I've created using a third party app, which has worked really well. But the app only produces the form in a straight line and i now need to fit it to a number of curves.

I have a form of 3 radii and a couple of flats, which the sinusoidal form needs to fit along. All this work is just in 2D as i need to output the dxf into a CNC machine.

View 3 Replies View Related

AutoCAD Civil 3D :: Pressure Fitting Parts Masking?

May 30, 2013

Longtime C3D user, new to pressure pipes though. It seems one cannot mask pressure fittings in plan view. Is that correct?

Using C3D 2014

View 2 Replies View Related

AutoCAD 2010 :: 2012 Fitting Object To Area?

Aug 23, 2013

I've just got AutoCAD 2012 and mkaing some rings, I needed to fit the same textures of a ring of 8mm in a 6mm ring. My problem is that the inside diameter is larger in the 6mm ring, and that's why I can't use the Scale command. Is there a command that allows me to fit all the objects in this area??

Here is the file with both of the rings.

View 2 Replies View Related

AutoCad 2D :: Make Modified (not Standard) Pipe Fitting?

Jan 18, 2012

Pipe and tank plant layouts, now need to make a modified (not standard) pipe fitting.

Looking for a pipe plug drawing. the fitting (Imperial) is 4—10. Four inch NPT piping. Appears to have a slight taper, very slight.

Or, better yet, a G 3-3/4" pipe thread(?).

a *.dwg (AutoCAD 2007) drawing?

View 7 Replies View Related

AutoCAD Inventor :: Unauthor Tube And Pipe Fitting?

Aug 29, 2012

I have a couple of users who accidently added connections to the wrong parts and made them fittings.

For the life of me I cannot remember how to turn them back into regular Inventor parts.

I've removed the connection points, but the parts still appear as fittings when placed into an assembly.

Inventor 2012 SP3 ~ Vault Pro 2013
Lenovo D20 Workstation Intel Xenon E5640@2.67GHz (2)
Win 7, 24gb RAM, NVIDIA Quadro FX 3800

View 8 Replies View Related

AutoCAD Civil 3D :: Pressure Network Fitting And Appurtenance Display

Sep 14, 2012

Put together a pressure network and actually plotted it out for a project?  Are the fittings and appurtenances even readable?  I have a network setup on 40 scale plans and when plotted out, you can't even tell what a recuder is compared to a valve.  Tees are obvious but thats only because of the branch pipe coming off of it.  Our company uses the old basic symbols that are blown up big enough that dimensionally, they are not correct but visually they look really nice.

View 9 Replies View Related

AutoCAD Inventor :: How To Make Pipe Branch Off In Piping Run Without Tee Fitting

Feb 28, 2013

I'm trying to make a piping run that at one point branches off in another direction. Basically I want to have one straight pipe, a main line, where another pipe branches off and sticks out vertically from it and goes its own way. However, I want this branching pipe to be welded to the main line, not connected with a tee fitting. Inventor won't let me create branches from within a route, and it doesn't seem to want to let me snap to the existing main line run if I create a new run for the branching pipe.

View 5 Replies View Related

AutoCAD Inventor :: How To Reconnect Hose To Fitting In Tube And Pipe

Nov 11, 2011

I had a hydraulic hose connected to an elbow fitting  and now it has been changed a straight fitting.

What is the proper way to do this so that it is still adaptive?

And how can I reconnect the hose to the new fitting and have it adaptive?

View 2 Replies View Related

AutoCAD Inventor :: Routed Systems Tube And Fitting Authoring

Jul 16, 2010

Using Routed Systems in the Tube & Pipe Authoring dialog page on the End Treatment pull down -- is there a detailed list of what the different end treatments mean ?  such as what does "Quick Connect" exactly mean, or Swaged, single ferrule or dual (such as used with a Swagelok fitting)... What can you do with "Other".... etc..

View 9 Replies View Related

AutoCAD Civil 3D :: Import Pressure Pipe Appurtenances (Fitting) In 2013?

Sep 11, 2013

I am designing pressure pipe  network for water supply line in civil 3d 2013.In that ,I am not able to insert 90 degree bends,change pipe properties know that there is default bends available in civil 3d but I need more fittings and different dia pipe. I asl know that in C:program dataAutodeskenupressure pipe fittings in that all fittings are available and SSL there is .*sqlite file available. But I Don't know to how to import this pipe fittings in civil 3d 2013.

View 3 Replies View Related

AutoCAD .NET :: How To Programmatically Change The Position Of The Sun

Sep 21, 2013

How to programmatically change the position of the sun autocad?

View 6 Replies View Related

AutoCAD .NET :: Way To Programmatically Check If DLL File Is Plugin

Oct 16, 2012

I'm looking for a way to programmatically check if a dll file is a AutoCAD plug-in, preferably getting the version too.The only thing I can think of is using

System.Reflection.Assembly.ReflectionOnlyLoad()

to load the dll, search thru its references looking for Acad-specific (acdbmgd etc.) get the reference version, compare it to a list....

View 9 Replies View Related

AutoCAD .NET :: Programmatically Add Labels To Objects On A Drawing?

Mar 6, 2013

My requirement is to programmatically add labels to the objects on a CAD 2013 drawing in one operation (as opposed to typing them in).  The labels exist in an external excel spreadsheet.  I am new to CAD development.

View 4 Replies View Related

AutoCAD .NET :: Change Units To Pixel Programmatically?

Oct 24, 2011

I'm using sendcommand to draw various shapes in autocad.

the problem is my application (wpf) uses pixel units while autocad uses inches by default.

how can I change autocad units to pixel programmatically?

View 2 Replies View Related

AutoCAD Civil 3D :: Add Profile Programmatically In 2012?

Apr 10, 2012

I'm not finding any way to add a profile to an alignment using .net api.

Is com the only way?

I can get at pvis via .net, so seems off they would leave out ability to add profiles.

[URL]

View 9 Replies View Related

AutoCAD Inventor :: How To Change Name Of A Document Programmatically (C++ & COM)

Jul 16, 2013

I'd hoped that I could change the name of a part document like I did with sketches, simply assignment:

 BSTR bstrName ;pPartDoc->get_FullDocumentName (&bstrName) ;wprintf (L"
Full document name was %s
",wchar_t(bstrName)) ;pPartDoc->FullDocumentName = L"Whatever" ;
 
But the compiler complains about no put method on that last line.How do I change the name of a Part Document programatically?

View 1 Replies View Related

AutoCAD .NET :: How To Programmatically Extract The Attributes From A File

Dec 26, 2013

We have a bunch of dwg files. The requirement is to extract a specific list of attributes from the layers within CAD to a csv file. We are currently manually opening the dwg using AutoCAD and exporting the attributes. This has been time consuming and we need a faster process.

What options do I have to programmtically extract them?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved