AutoCAD Civil 3D :: Invoke GetXdata Method On A Label?

Aug 29, 2013

I am trying to see what is in the Xdata of a label object:

(setq labl (car (entsel "
Select label: "))
vlabl (vlax-ename->vla-object labl)
)

GetXData is a method of the selected object I am calling vlabl.

I can't figure out exactly how to get this to work. The method list says GetXdata(3). 

When I try 

(setq xdater (vlax-invoke-method vlabl 'getxdata x y z))

I get an error: error: ActiveX Server returned an error: Parameter not optional

If I try

(setq xdater (vlax-invoke-method vlabl 'getxdata 5 5 5))   ;shouldn't this retrieve the values of the array as double double                                                                                     double?

I get nil. No error, just nil. Does this mean there are no values in the array or am I missing a step that lets me read the array?

I was able to convert from variant to safearray for another routine I wrote yesterday, but that variant came from a get-property, not a method. As you can tell, I have hit a wall.

View 5 Replies


ADVERTISEMENT

AutoCAD Civil 3D :: Point Label Size Change When Label Is Moved?

May 8, 2012

The label associated to a grading point when is moved when is moved changes its size automatically and a leader appears. After this happen no control over the grading point and its associate label. refer to the image below.

View 1 Replies View Related

AutoCAD Civil 3D :: Changing Profile Line Label Style Causes Label String To Revert To Default

Sep 6, 2012

C3D 2013. We have profile line labels, some of which get manually edited (for example, change the "<[Tangent grade(FP|P2|RN|AP|GC|UN|SD|OF)]>" to a static number such as 0.29%).

However, if you CTRL+Click and select one of these labels and change the style of that one label, then the manual edits are lost and the label reverts back to the default string.

Is there any way to turn this behavior off?

View 1 Replies View Related

AutoCAD Civil 3D :: Edit Label Text In Parcel Label

Jan 3, 2013

Is there a way to "Edit Label Text" in a Parcel area label? Similar to the way you can edit it in other styles.

View 9 Replies View Related

AutoCAD Civil 3D :: Label Profile Label Stations As Raw

Aug 8, 2013

I'm trying to label my Profile label stations as raw stations, 20~20 meters, and I'm not being able to adapt the format to STATION 0, STATION 2, without any plus zeros or +, or -, or commas, or anything, as following in the image.

Is there a easy way to do it?

View 2 Replies View Related

AutoCAD Civil 3D :: SSA Rational Method

Sep 20, 2013

SSA rational method. I have to compare results of rational method between SSA and another product. Plain rational method, steady flow, Darcy-Weisbach. Times of concentration (TOC) are manually defined.
 
I played a bit with the units, formulas, IDF curve is defined as pair of values time/intensity. Seems that I achieved something. Results are more or less similar, but there are some differences. After playing with both programs, comparing in Excel, think that I found what is different.
 
So, I have very simple example, of one channel with catchment areas. All areas have the same runoff coefficient – 0.8. Pipe diameters are constant (500). The whole analysis is restricted between 5 and 10 minutes of rain duration (5 min-397.22 l/s/ha and 10 min – 321.53 l/s/ha). I converted IDF to mm/hr. So I have the next example:
 
[picture in attachment]
 
In theory, what I learned about rational method, there is next definition:

Intensity from IDF curve is defined by TOC. TOC is defined by sum of „entrance time“ (which is defined by shape and size of catchment area) and sum of upstream flow times. In my example I defined 5 min for every area.

So, for example for pipe nr. 3, TOC is calculated:
 
TOC_3 = Entrance time for area 3 + Tflow_1 + Tflow_2 + Tflow_3
 
For example:
 
TOC_3 = 5 min + 0.67 + 0.45 + 0.51 = 6.63 min
 
That TOC_3 (6.63 min) is base for reading appropriate value of intensity (I_3) from IDF curve. The flow in pipe 3 is then calculated:
 
Q_3 = I_3 * (A1 * k1 + A2 * k2 + A3 * k3)
 
This is the way how I learned rational method. But results between SSA and another product (which works in a way explained above) are different. Differences increase downstream.
 
After playing with results in Excel, I found out that SSA does not summarize in TOC all flow times upstream. So TOC in SSA is calculated simply by initial entrance time and flow time in specific pipe:
 
TOC_3 = Entrance time for section 3 + T_flow_3
 
So, there is no time added from T_flow of pipes 1 and 2. Seems that it is major difference which leads to final results differences. I tried to understand all options of SSA to find possibility to add upstream flow times, but without success.

View 7 Replies View Related

AutoCAD Civil 3D :: Pin A Label To Another Label

May 17, 2013

Is it possible to pin a label to another label ? Or pin a label to an object so that when the first label (or object) is moved, the other moves with it ?

View 2 Replies View Related

AutoCAD Civil 3D :: Using Feature Line Method?

Oct 31, 2013

C3D 2012.  I am trying to get the distance from the start of a featrue line to a selected point.  My object is "FLobj" and my Point is PT1.  I am using the method Get2dDistanceAtPoint.  This is the line of code.

(vlax-invoke-method FLObj 'Get2DDistanceAtPoint pt1 'pDistance)

I keep getting "too many actual parameters". 

View 2 Replies View Related

AutoCAD Civil 3D :: Cut Fill Calculation Method

Jan 2, 2013

I'm new in civil 3d road design so my question may be basic.when i prepare a corridor and proceed to get cut and fill it appears as zero.i think i made some mistake at a stage when in section line we decide surfaces..step wise from section line selection to cut/fill calculation also give me the general concept regarding selecting surfaces during cut/fill volume calculation?

View 5 Replies View Related

AutoCAD Civil 3D :: SetSlope Method For BeginAlignment Or EndAlignment?

Sep 27, 2013

I´m trying to modify slopes for BeginAlignment.

This is my code block but it doesn´t anything.

#region peralte inicio alineación y final alineación if (variables_globales.peralteTransversal == false) { //añadimos el peralte para el p.k=0 y para el p.k final si se trata de rectas. if (variables_globales.ListaentitiesAlign[0].SubentityType == AlignmentSubEntityType.Line) { //abrimos la base de datos por si tenemos que escribir. Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; Editor ed = doc.Editor; using (DocumentLock docLock = doc.LockDocument()) { using (Transaction trans = db.TransactionManager.StartTransaction()) { Alignment align = trans.GetObject(Id, OpenMode.ForWrite) as Alignment;

[code]....

variables_globales.ListaentitiesAlign is a list of all subentities of Alignment and I check if the first subentity is a line.I use switch but you don´t have use it.
 
Autocad Civil 3D 2014 +SP1
Quad Core Intel i7 3770-cpu 3.40Ghz.
ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd
32gb RAM 1600 Mhz.
nVidia Quadro 2000.
Win 7 Pro 64bit

View 4 Replies View Related

AutoCad :: How To Invoke Classic Display

Nov 14, 2011

I have just installed Autocad 2007. The screen display is the 3-D screen, even though I select the Autocad Classic display. How do I get to make the selection work to what I want displayed?

View 3 Replies View Related

AutoCAD Civil 3D :: Create Polyline From Figure Using BaseCurve Method

Nov 18, 2013

[URL]

You said that there is no need to flatten, but each method I have tried does not produce a polyline with curves.

I tried:

survfig.BaseCurve
survfig.BaseCurve.GetProjectedCurve
survig.BaseCurve.GetOrthoprojectedCurve

If if manually flatten the figure using a dummy suface with the AeccFeatureElevsFromSurf command, the polyline derived from survfig.BaseCurve will then have actual arc segments.

Is there another method or a way to flatten the figure programatically first?

View 8 Replies View Related

AutoCAD Civil 3D :: Overriding Superelevation Using Outside Lane Elevation Method

Oct 23, 2013

In my corridor I have used superelevation.  In a horizontal curve which has a cross slope of 4.5%, I have an intersection.  To allow for a smoother ride through a few lanes in the intersection I want to change the cross slope from 4.5% to 1%.  I was planning on doing this by using a Outside Lane Elevation Method of a Profile.  However, it appears that my super has precedence over my profile.  Is there are way to make this work?

View 2 Replies View Related

AutoCAD Civil 3D :: Pipe Flow Direction Method - By Slope

May 14, 2008

Is it possible to have pipe flow direction method set to "by slope" by default when we creating new pipes?

View 5 Replies View Related

AutoCAD Civil 3D :: Volume Calculation Method - Cut And Fill Are Not Even Close?

Sep 4, 2012

I'm to compare volumes in c3d to Inroads. My volumes are not matching ( cut and fill are not even close). Civil 3D uses  the average end area and InRoads uses 'triangle method' to calculate the total volume. How can I get C3D volumes to match InRoads which is verified correct?

View 5 Replies View Related

AutoCAD Civil 3D :: 2013 - Create A Quick Profile Using Points Method?

Jun 1, 2012

create a quick profile using the Points method?

When I am asked for the Profile Origin the cursor is like a standard Windows Arrow pointer and won't let me select a point for the origin.If I use a polyline for the quick profile all works as expected...

IDSP Premium 2014 (mainly Civil 3D 2014 UKIE SP1 & Infraworks with some limited 3ds Max Design)
Win 7 Pro x64, 256Gb SSD, 300Gb 15,000 rpm HDD
16Gb Ram Intel Xeon CPU E5-1607 0 @ 3.00GHz (4 CPUs), ~3.0GHz
NVIDIA Quadro 4000, Dual 27" Monitor, Dell T3600

View 4 Replies View Related

AutoCAD Civil 3D :: Choose Best Hydrology Method Based On Available Data / Desired Outputs?

Nov 11, 2013

I am in case to model a stormwater network contain ditches with irregular sections, open channels and closed pipes in SSA. I do not have access to IDF curves for the Project area. We got a weather station in site which is giving us continuous data from last 3 months till now. At this stage we just decided to use certain Rainfall intensity (mm/hr).

We got some check points to check the turbidity. What I need to know after analyse is i.e what is the flow at these points at 6:00 pm if we experience the rainfall from 3:00 pm to 4:00 pm with 20 mm/hr rainfall intensity.

So my concerns are with these available basic data, which method is suitable? and as long as we approach more valued data from in site weather station then which method will be the best.   If i want to input time of concentration manually for each subbasin then how can i input TC of pipes or channels in SSA? URL....

where MATT said: "SSA does not calculate the Standard-Step method. The Rational Methods (including modified, and DeKalb) all compute the runoff to the inlet or junction. As soon as runoff enters the system, continuity and momentum calculations take over. SInce you are using Steady State Qin = Qout, so no routing occurs on pipes."

how do i understand the flow in certain points i.e 2 hrs after the rainfall is finished if I can not define TC for pipes or channels?

View 1 Replies View Related

AutoCAD Civil 3D :: Angle-distance Method To Stake Out Horizontal Alignment By Total Station

Aug 3, 2013

Angle-distance method to stake out the horizontal alignment by total station,Assuming that the total station with reflector is the tool that it is intended to lay out the circular curve after being designed then the only way to do so is to construct a table that contains angle-distance values.

 I’m wondering if the C3D can provide this table (attached)

View 9 Replies View Related

CorelDRAW X4 :: Macro Code To Invoke Error Pop-up

Aug 23, 2013

I have a macro that I've written that works flawlessly for what I need it to do but only if 1 corel window/job is open at a time. If I could get the macro to just check to see if other jobs are open first and warn me. I can hit ok then clsoe those jobs then proceed with my macro.

View 4 Replies View Related

Illustrator Scripting :: Cannot Invoke JSX File When Panel Is Installed In Client System

Jun 21, 2013

I am using Extendscript to do some of the crtitical functionalities for Adobe premiere pro. Programme is working fine when i run it from Flash builder 4.6, i get all the expected result in premiere pro cs6. This is the methode i am using to invoke functions in .jsx files
 
[ Embed (source= "filename.jsx" , mimeType= "application/octet-stream" )]
private static var myScriptClass:Class;
public function test():void{var  jsxInterface:flash.external.HostObject

[Code]....

View 1 Replies View Related

AutoCAD Civil 3D :: How To Label Part Of Arc

Mar 31, 2013

I have C3D 2012.  I want to label a part of an arc.  The arc has 3 lines that intersect it.  I want to label the overall arc and the pieces of the arc.  The overall arc is not a problem.  How can I label the parts of the arc without breaking it up?

View 5 Replies View Related

AutoCAD Civil 3D :: Label Text Being Placed At 0,0

Feb 4, 2013

I keep getting the words "Label Text" being placed at 0,0 every time I insert a profile view into my drawing.  Is there a simple way to change something in the settings to either not display this at all or sontrol how/where it is displayed?  It is annoying when you do a zoom extents being you now get 2 small dots on screen, 1 being the actualy drawing at the correct utm cooridnates and the other being this piece of text down at 0,0.

View 9 Replies View Related

AutoCAD Civil 3D :: Label Style For PI

Feb 15, 2013

I have applied a client's style to the alignment to show PI's. In this case we have 2 alignments close to each other (NB & SB of road). PI's close to each other will then overlap. What I would like to do is apply a style that will have the line and text go exactly in the opposite direction. I am trying to avoid dragging the text as that seems to bring up several more issues. I am looking for whatwhere to change within the style editor to make this happen.

C3D 2012 sp1
W7Pro 64bit
HP Z400 Workstation
16 GB RAM
Intel Xeon CPU W3565@3.20GHz
NVIDIA Quadro 4000

View 4 Replies View Related

AutoCAD Civil 3D :: Add Label To Alignment

Nov 14, 2012

I need to add a ONE label to an alignment. I would like to do it via Vlisp or C#.

View 4 Replies View Related

AutoCAD Civil 3D :: Expressions In Label

Apr 11, 2013

Need writing an expressions in a label style. I have part of it working, it is {Rim to Sump Height}-6 now I would like it to put 0 if it is 0 or less but I don't know how to do it.  It works great on positive number but I want it to put 0 if it is a negative number.

View 8 Replies View Related

AutoCAD Civil 3D :: Low Point Label

Aug 17, 2012

 Is there a way to label the low point of a profile or alignment that doesn't have any vertical curves? We have an existing alignment and profile which is relatively flat, and we'd like to establish and label the low points for drainage improvements.

View 9 Replies View Related

AutoCAD Inventor :: Invoke ILogic Rule Editor And Pass It On Existing Rule Name?

Jan 7, 2014

Is there a way to invoke the iLogic Rule Editor and pass it an existing rule name or external rule for editing?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Write A Lisp Routine That Invoke The Mleader Command

Oct 11, 2012

I'm trying to write a lisp routine that, when I invoke the mleader command, osmode is set to "nearest" & orthomode is set off. I then would like the original settings to be returned.

attached is what I have written so far:-

View 4 Replies View Related

AutoCAD Civil 3D :: How To Get Azimuth Label On Line

May 29, 2012

how I can get an azimuth label on my line?

View 5 Replies View Related

AutoCAD Civil 3D :: Object Elevation Label

Jun 20, 2013

Any way to label the elevation of an object where it is picked?  For example, I'd like to be able to pick on the node of a feature line or 3D polyline (or any object really) and have a label placed that displays the elevation of the object at the point where it was picked.  This could appear similar to the surface spot elevation label, but instead of getting it's elevation from a surface, it would come from the object where picked.  

Alternatively, any way to create a label style, perhaps using the Note label, to display something like this?  I don't even care if it is dynamic or not, static would be fine.  However, I do need it to scale innovatively .  Tool Pac has a feature that does this, but the label is just a polyline and text that is not annotative.  

View 4 Replies View Related

AutoCAD Civil 3D :: How To Label Walls From A Surface

Nov 3, 2009

we are in a situation where we want a dynamic wall label. how can i make that happen if technically the top of wall and bottom of wall are at two different x and y points. ideally i would like have one label and list it this way by referencing surface elevations:

RETAINING WALL
TOW=XXXX.XX
BOW=XXXX.XX
N=NORTHING
E=EASTING

View 9 Replies View Related







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