What's new

Recent content by shubhab

  1. S

    run time error

    Can you paste your code snippet here, so I can take a look at it? As I know, there is no limitation on how the sketch is created or retrieved. May be, you can also upload the part file with your sketch, so I can investigate completely. Thanks, Shubha
  2. S

    API Documentation

    Hi, The API Help is still being worked on. The attached help document is for 9.1. You can take a look at the VB Object Browser to check for any methods or Properies that are supported for 9.1. Thanks, Shubha
  3. S

    run time error

    Hi, The IsReference property does seem to work fine. Please take a look at the following code snippet from my VB sample. This should hopefully answer your question. 'The following calls sketch a Rectangle and a Circle in the XY Plane Call objPlaneSketch.BeginChange Call...
  4. S

    Sample C# project?

    Hi Mark, We still have not made any decision on when we would post C# samples. However, we do plan to do this in the near future. We will post an announcement when done so. Meanwhile, if you have any API related questions, don't hesitate to post them in this forum. Thanks, Shubha
  5. S

    Retrieving Part-List of an assembly

    Hi Dario, Sorry for not having responded to your message for a while. You can get the parts list in an assembly using the IADOccurrences Interface. Please read through the Assemblies topic in the 'Getting Started' Section of the API Help. If you have more questions, please feel free to...
  6. S

    AD instance trought API

    Alex is right. It is not possible to view the UI if you initialize Alibre Design via API.
  7. S

    C# or VB.Net and Visual Studio examples? (Anyone need them?)

    Thanks Alex. I'll take a look at this shortly.
  8. S

    Design Properties

    You can access the configurations on a Deisgn Session, i.e. on IADDesignSession. You will not be able to access it directly on IADSession. As an example: Dim adSession as IADSession Dim adConfig as IADConfiguration Dim adDesignSession As IADDesignSession adSession =...
  9. S

    Drawing BSplines from code

    Yes, you are right. You will have to define the path yourself using a 3D Sketch, which can be very tedious.
  10. S

    Drawing BSplines from code

    How about trying the Sweep Feature for this? The Path Objects can be 3D sketches. But, as you said, this can't be done via our API though and the above approach would be lot more difficult. Although we have the 3DSketch Interface in our API, you can at present only query for 3D Sketches. You...
  11. S

    Drawing BSplines from code

    Hi Eric, You had question regarding the Helix Interface in the enhancement request. Currently for a Helical Feature, for the Axis field, you will need to have a Reference Line(which is a Reference Sketch figure) in the same Sketch as the Circle, i.e. both the Circle and the reference Line...
  12. S

    Drawing BSplines from code

    Can you post your enhancement request (An Array function as you mentioned earlier) under 'Enhancements' Section in 'Drawing API Functionality'?
  13. S

    Drawing BSplines from code

    I see what you say. I am sorry, I misunderstood your previous question as array of BSplines, since you were interested in knowing about BSplines. Did you try sketching lines in a loop(looping 1440 times) and see if it took less amount of time as that for importing a file?
  14. S

    Drawing BSplines from code

    Eric, I suppose you meant, you want to add an array of BSplines. I have attached a very simple VB Sample that adds one BSpline. If you need to sketch several such BSplines, you will have to have different Control Points, weights, knots etc and then finally include the...
  15. S

    Parameter units issue

    If you use the appropriate conversion factors, then I don't think it will cause any problem. Also, I am assuming that you are first getting the model units of the design and then converting it to the appropriate display units (as demonstrated in the code snippet in this thread) Thanks, Shubha
Top