CAD Drawing Reading through 3d API

Hello.
We are going to develop a construction management software that works via web. So we need to read AUTO CAD Drawings .So ant API's is there
Thanks
Ram Prasad.

http://forum.java.sun.com/thread.jspa?threadID=756220&messageID=4321107

Similar Messages

  • Find reader through Offcard API

    Hi friends,
    System.out.println("Search readers..... ");
    Context context = new Context();
    context.EstablishContext(PCSC.SCOPE_GLOBAL, null, null);
    String[] readers = context.ListReaders();
    if (readers.length <= 0) {
         System.err.println("No readers found...");
         return;
    System.out.println("Current using reader..... ");
    System.out.println(readers[0]);
    Card card = context.Connect(readers[0]);In IBM offcard API, is there any code like this for checking current reader name...because i couldnt find out my reder name... my reader is "Gemplus USB Smart Card Reader o"... can any body help me....

    Ask in the Reader forum. However, the process should be a property of the print driver for your printer, not Reader.

  • How can I insert watermark in printing document by ADOBE Reader through Windows API hooking?

    Hi. I'm now trying to hook windows API to insert watermark image when printing a document.
    It works fine with MS Word, PowerPoint, Notepad and Mspaint except Adobe Reader when I hooked EndPage API calls to insert watermark image.
    And all the progress looks work well from the log but i can't insert the watermark image.
    Then i tried it with another PDF viewer, it was work well except only ADOBE Reader.
    Any suggestions will be helpful to me.
    Thank you.

    Ask in the Reader forum. However, the process should be a property of the print driver for your printer, not Reader.

  • Assigning roles to LDAP users through BIP API

    Hi.
    My customer has BIP 11g and OIM 9.1.0.2 running on the same weblogic server (11g). Both authenticate against the same LDAP server.
    One of our desired next steps is to provision from OIM the BIP roles to each LDAP user so every user gets the correct roles (and access to the correct reports) according to the groups he has on OIM.
    I've been searching for info regarding this without success. The BIP API doc does not show any info about assigning roles to users.
    We don't need to manage LDAP users, BIP roles, etc... through OIM. We only need to assign BIP roles to LDAP users.
    Is it possible to make that assignments through BIP API?
    If not, any other ideas? New ideas or different approaches are welcome.
    Thanks in advance.

    In OBIEE 11g which includes BIP the application roles are applied to LDAP users and groups using the Enterprise Manager Fusion Control.
    During the upgrade process from OBIEE 10g to OBIEE 11g the groups do get assigned to these roles transparently so there must be some API to leverage this functionality.
    I would start there, http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/admin_api.htm
    There are no specific instructions on accomplishing what you seek but if you have some WLST or Java Skills you should be able to get something prototyped.
    Let me know if that helps.

  • 'Claim' a Human Task through Workflow API

    There is no function to "Claim" a task that is assigned to a group, through Workflow API.
    There is a function to "Acquire" the task but after acquiring, the task cannot be completed (it throws exception):
    java.lang.NoClassDefFoundError: com/collaxa/common/util/NonSyncPrintWriter
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:33)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:856)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
         at java.lang.Thread.run(Thread.java:595)
    and if viewed through the default worklist application, there is no action available to the task after "Acquiring" through API.
    How can we create a custom worklist application and complete tasks which are assigned to a group of users ?

    Can you post how you are acquiring it and how you are attempting to complete it?

  • Can you change the canvas size in AI CC . If so how? Not the artboard but the canvas behind it. I have a large cad drawing.

    Can you change the canvas size in AI CC . If so how? Not the artboard but the canvas behind it. I have a large cad drawing.

    Vandushia,
    The Workspace size is fixed, 16,384 points.
    I am afraid you will have to work in a suitable scale, which could be 1:2, 1:4, 1:10, or whatever is most convenient.

  • Strange read-through operation after entry processor work

    Hi.
    We use the combination cache listener - entry processor to do some actions when the data comes to coherence. We use Oracle Coherence Version 3.5.3/465.
    Just after the entry processor has set the new value for the entry, the new "get" operation is called for the cache and jdbc hit is done for this key.
    Here is the entry processor:
    public Object process(Entry entry) {       
            if (!entry.isPresent()) {
                // No entities exist for this CoreMatchingString - creating new Matching unit
                MatchingUnit newUnit = new MatchingUnit(newTrade);
                entry.setValue(newUnit, true);
                return null;
            ((MatchingUnit)entry.getValue()).processMatching(newTrade);
            return null;
        }Very interesting, that if I use entry.setValue(value) without second parameter - I recieve the db hit just on setValue method. According to docs, setValue() with one parameter returns the previous value and its logical, that the cache hit (and therefore the db hit) is done just on set. But I use the overloaded version void setValue(java.lang.Object oValue, boolean fSynthetic), which is said to be light and should not fetch previous version of the object. But this is done anyway! Not on setValue itself, but just after the process() method called.
    Actually it's strange, that coherence tries to fetch the previous value in the case it didn't exist! The cache.invoke(matchingStr, new CCPEntryProcessor(ccp)) is invoked on not existing record and it is created just on invokation. May be it's the bug or the place for optimization.
    Thanks

    bitec wrote:
    Thanks, Robert, for such detailed answer.
    Still not clear for me, why synthetic inserts are debatable. There are lots of cases, when the client simply updates/inserts the record (using setValue()) and does not need to recieve the previous value. If he needs, he will launch the method:Hi Anton,
    it is debatable because the purpose of the fSynthetic flag is NOT so that you can optimize a cache store operation away. Synthetic event means that this is not real change in the data set triggered by the user, it is something Coherence has done on the backing map / on the cache for its own reasons and decisions to be able to provide high-availability to the data, and it only changes that particular Coherence node's subset of data but does not have a meaning related to the actually existing full data set. Such reasons are partition movement and cache eviction (or possibly any other reasons why Coherence would want to change the content of the backing map without telling the user that anything has changed).
    If you set the synthetic flag, you are trying to masquerade a real data change as an event which Coherence decided to trigger. This is why it is debatable. Also, synthetic backing map events may not always lead to dispatching cache events (for partition rebalance they definitely not). This optimization may also be extended to synthetic cache events.
    java.lang.Object setValue(java.lang.Object oValue)and recieve the previous value. If he doesn't, he calls:
    void setValue(java.lang.Object oValue, boolean fSynthetic)and DOESN'T recieve the previous value as method is marked void. Thus he cannot get the previous value anyhow using this API, except of the direct manual db call. Yep, because Coherence is not interested in the old value in case of a synthetic event. The synthetic methods exist so that some entry can be changed in Coherence (usually by Coherence itself) in a way that it indicates a synthetic event so that listeners are not notified.
    Some valid uses for such functionality for setValue invoked by user code could be compacting some cached value and replacing the value the backing map stores with the compacted representation, which does not mean a change in the meaning of the actual cached value, only the representation changes. Of course if the setValue(2) method does not actually honor the synthetic flag, then such functionality will still incur all the costs of a normal setValue(1) call.
    But the previous value is anyway fetched by Coherence itself just after process() and client anyway doesn't get it! But any listeners on the cache may need to get it due to cache semantics reasons.
    In this case I regard this as the bug, cause the client, which uses this API doesn't expect the cache hit to take place (no return value for this overloaded setValue() method), but it takes and leads to some extra problems, resulting from read-through mechanizm.
    I would not regard it as a bug, it is probably the case of documenting a possible optimization too early, when it ultimately did not get implemented. I definitely would not try to abuse it to set a value without triggering a db fetch, as again, the intention of the synthetic flag is related not only to the cache loader functionality, but also to events and marking that a change indicates a real data change or a Coherence data management action.
    Now I understand why coherence does not know, whether this is inserted or updated value, thanks for details.
    Anton.
    *Edited: I thought about this problem from the point of the oracle user, but may be this additional hit is necessary for event producers, which need to make the events, containing old/new values. In this case this seems to be the correct behaviour.... Seems that I need some other workaround to avoid db hit. The best workaround is the empty load() method for cachestore...You can try to find a workaround, but it is an ugly can of worms, because of the scenario when more than one thread tries to load the same entry, and some of them try to load it with a reason.
    You may try to put some data into thread-local to indicate that you don't really want to load that particular key. The problem is that depending on configuration and race conditions your cache loader may not be called to clean up that thread-local as some other thread may just be invoked right now and in that case its return value is going to be returned to all other threads, too, so you may end up with a polluted thread.
    Best regards,
    Robert
    Edited by: robvarga on Oct 15, 2010 4:25 PM

  • Updating a sales order through DI API

    Hi All,
         I have an issue regarding updating a sales order.
    The problem is:
      If there r 2 items(A00001&A00002) existed in the sales order and if I am adding two more items(A00003 & 4)the sales order is updated in a fashion that first item is replaced with third item and forth item is added as last record.The items to that particular sales order after updating will be like this(A00003,A00002,A00004).My doubt is why the 3rd item is replaced with first record.I am sending the code also i have written.
    objRecordSet = SBOCOMUtil.newRecordset(company);
                          IDocuments  oOrder =SBOCOMUtil.newDocuments(company,SBOCOMConstants.BoObjectTypes_Document_oOrders);
                                  objRecordSet.doQuery("select DocEntry from ORDR where DocNum=" + 1111);
                                  DocEntryL =objRecordSet.getFields().item(new String("DocEntry")).getValueInteger().intValue();
                          str += DocEntryL;
                          System.out.println(DocEntryL);
                          if (oOrder.getByKey(new Integer(DocEntryL))) {
                                  //objRecordSet2.doQuery("delete  from rdr1 where DocEntry="+DocEntryL);
                                  str += "2";
                                  System.out.println(str);
                                  //oOrder.remove();
                                  oOrder.setDiscountPercent(new Double(5));
                                  oOrder.setComments("success");
                                  System.out.println(str);
                                  IDocument_Lines oOrderLines = oOrder.getLines();
                                  str += "3";
                                  String[] item={"A00005","A00006"};
                                  for (int counter = 0; counter < item.length; counter++) {
                                       //  oOrderLines.setCurrentLine(new Integer(counter));
                                         if (counter > 0)
                                                 oOrder.getLines().add();
                                         str += "4";
                                  oOrderLines.setItemCode(item[counter]);
                                  System.out.println(item[counter]);
                                     //oOrderLines.setBaseType(new Integer(-1));
                                     //oOrderLines.setBaseEntry(new Integer(0));
                                   //oOrder.getLines().setCurrentLine(new Integer(counter));
                               //oOrderLines.setQuantity(new Double(1));
                                         //oOrderLines.setPrice(new Double(1500));
                                         //oOrderLines.setCurrency(strCurrency[counter]);
                                         //oOrderLines.setLineTotal(new Double(dblLineTotal[counter]));
                                  str += "5";
                                  //oOrder.getLines().getUserFields().getFields().item("Quantity").setValue(new Integer(2));
                                  System.out.println(str);
                                  int result = oOrder.update();
                                  str += "6" + result;
                                  if (result == 0) {
                                         System.out.println("successfully updated");
                                         company.disconnect();
                                  } else {
                                         company.getLastErrorDescription();
                                         System.out.println(
                                                 "Error :" + company.getLastErrorDescription());
                                         company.disconnect();

    If you are using SBP 2004 there are many threads on this forum talking about bugs when updating sales order lines through DI API. This issue was supposed to be fixed with patch level 45 for 2004 which was recently released.
    If u are using 2005 or SP1 I think you may have found a new bug.

  • Anybody know of a way to add or modify Accounting Periods through an API?

    I am trying to import and modify Inventory Accounting Periods. Does anybody know of a way to do this through an API? I can't find an API to do this so I'm thinking that I might have to a direct insert. Thanks for the help.

    I think that I have figured out a way for 3/4 to be solved. Some background on the problem is that the two Oracle instance are supposed to be in sync with one another. I am currently working on syncing the GL periods and INV periods. For GL periods, I have found GL_PERIODS_PKG.Load_Row for creation and GL_PERIODS_PKG.update_row for opening of a period. For INV, I am going to use CST_ACCOUNTPERIOD_PUB.open_period to do opening however I can't find a seeded creation procedure.

  • Prime 2.0 renders imported CAD drawing to black

    Hi All,
    I running both Prime 1.3 and Prime 2.0 and when I import a CAD dwg drawing into
    Prime 1.3 it renders fine, but doing the same in Prime 2.0 and the drawing appears with
    a black background. I have checked Bug Track and found nothing, any answers ?
    TIA

    CAD file format must be AutoCAD version 2010 or earlier. Before you save a CAD file, ensure the following:
    –Zoom images to maximum.
    –Remove  unwanted layers from the CAD files, that is, layers that add  unnecessary artifacts to CAD files and layers that do not provide  significant information about the image on the CAD files.

  • Retrieving billing/usage through Azure API

    I'm looking to retrieve my account usage details through Azure API but couldn't find the relevant API for that.
    I know I can download the CSV file of usage details in Azure Portal Account->Subscriptions->Download Usage Details, and would need to retrieve the same through API.
    Any help is appreciated. Thanks in advance.

    Hi ksrishna,
    Thanks for your posting!
    Currently we don't got the billing usage file using API. You could download in the account page on the portal. Also, you could vote this feature via this customer feedback page:
    http://feedback.azure.com/forums/170030-billing/suggestions/1143971-billing-usage-api
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Accessing Iteration Dates through REST API

    How should I go about getting the start and end dates for an iteration through the API?
    If I attempt to access the iteration directly (using the URL retrieved by /_apis/wit/classificationnodes/iterations/{parent}&$depth=2) I receive a 'Node ID is not recognized' error:
    "$id": "1",
    "innerException": null,
    "message": "TF51541: The Node ID is not recognized.",
    "typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.Metadata.WorkItemTrackingTreeNodeNotFoundException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
    "typeKey": "WorkItemTrackingTreeNodeNotFoundException",
    "errorCode": 0,
    "eventId": 3200
    Is there another mechanism for getting this data?

    Hi Steve,
    Thanks for your post.
    We can get the Iteration using general TFS API, it also works with VSO, please refer to the replies in this post:https://social.msdn.microsoft.com/Forums/en-US/6e6a8c5a-bb2a-4b51-9a43-df3c06448f1b/get-sprint-details-from-tfs?forum=tfsgeneral
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Withholding TAX - AP INVOICE through DI API

    Hi Experts,
             I am posting AP INVOICE through DI API. When am posting WITHHOLDING TAX for AP INVOICE am getting error like "Total  taxable amount of all rows exceeds the base amount [pch5.taxbleamt]". My code
                            APINVOICE.WithholdingTaxData.WTCode = ORec1.Fields.Item("WTCode").Value
                            APINVOICE.WithholdingTaxData.WTAmount = ORec1.Fields.Item("WTAmnt").Value
                            APINVOICE.WithholdingTaxData.Add()
    Please help me to solve this issue.
    Thanks in advance,
    Jeevan.

    Hi
    The below code can be used to add WT tax, But ensure that BP having the WTCode mapped.
       APINVOICE.WithholdingTaxData.WTCode = "TC-2"
            APINVOICE.WithholdingTaxData.Add()
    TC-2 is the WTCode mapped to Vendor i chose to add A/P invoice thro DI API.
    Regards,
    Tamizh.

  • Message Alter Overview  through DI API

    How do I get the code of selected message from my inbox in Messge/Alter overview window through DI API

    Hi Edward,
    Sorry I was busy last week and could not check your message. I got it to get the alertcode from alert/mesage overview screen. I just generated a message with three message data columns through DI API with link on two of the columns. I am just wondering how I would handle those links from Alert/Messge overview window to open my SAP Addon documents which are created in .NET and not using UDO's
    Thanks and Regards,

  • Add Activity through di api with assigned to employee

    Hello Experts
    I am fresher to sap b1 add on development.I got a problem in Adding Activities through di api
    the problem is i am not able to get handled by employee property .
    by default contacts.handledby is taking assigned to USER but I required Employee.
    thanks in advance.

    Hi,
    In order to set the employee correctly, don't use the Contacts object, but instead use the Activity object.
    In the Activity object there's a property called HandledByEmployee.
    Note that in order to create an Activity object, you should use the ActivitiesService object.
    Look here for an example.
    Beni.

Maybe you are looking for

  • Photoshop CC 2014 - "Could not complete your request because something prevented the text engine from being initialised".

    This problem has just started, only with CC 2014. It doesn't happen with CC or CS6. When I open a particular layered file, then Duplicate it, then close the original Master file I get the "text engine" warning box when I try to enter text in the copy

  • XBOX 360 SET UP CD

    I an trying to view my new xbox instruction cd. Cannot get snow leopard to read the cd. Anyone able to help? Thanks

  • Messages background color not saving

    I have about 15 computers and we use Messages as our in-house chat. We have different groups/areas/rooms assigned different background colors (it makes quick identification of where it's coming from easier). But we have an issue where some computers

  • Issue with using my gift card points

    Okay, here's what I've done: I've bought an iTunes gift card, I've redeemed it onto my account, it was $15 CDN. Now, I've wanted to purchase the OS 3.0 for my iPod Touch (2nd Gen.), but it won't let me use the points on my account. Account currently

  • Darwin and problem with gcc

    Hi, I'm trying to compile c-programs with gcc installed with the xtools from the tiger 1.4.8-cd on my system. For the first step I tried a "Hello World" program. When I compile it with 'gcc HelloWorld.cpp' on a linux system I get a a.out, and this is