I have some C# code that uses Apprentice to print some idw files. I am having issues that some sheets get printed with a big black splotch on them. I have attached a screenshot of one of these files. If I open it in Inventor View 2014 and print it from there, it prints fine.
I've a program which saves a inventor drawing to DWF. See code below. Here for I must use inventor 11 to open the file and then save it to DWF.
Is there a way to do the same with apprentice?
Public Sub Make_DWF(strFilenaam As String) 'open document invisible Set oINVDoc = oINVApp.Documents.Open(strFilenaam, False) 'make DWF Dim addins As ApplicationAddIns [code]..........
Is there a list of possible options for Apprentice with the Open with Options method?
Even if the Apprentice.open call is inside of a Try Catch, it doesn't throw an error when a file is missing references it just goes back to the routine that called it.
Dim oDocOpenOptions As NameValueMapoDocOpenOptions = oApprenticeApp.TransientObjects.CreateNameValueMapCall oDocOpenOptions.Add("SkipAllUnresolvedFiles", True)
I have changing the parameters of an inventor document using the inventor API by create an instance e of inventor and open the document,but it take more time .is it possible to use Apprentice Server to change the parameters of the document.?
My code is
Dim oPartDoc As PartDocument = inventorApp.ActiveDocument Dim oParameters As Parameters oParameters = oPartDoc.ComponentDefinition.Parameters() Dim oLengthParam, oWidthParam, oHeightParam As Parameter oLengthParam = oParameters.Item("d0") oWidthParam = oParameters.Item("d1") oHeightParam = oParameters.Item("d2") oLengthParam.Expression = TextBox1.Text oWidthParam.Expression = TextBox2.Text oHeightParam.Expression = TextBox3.Text oPartDoc.Update()
how can achieve the same method using ApprenticeServer?
I'm trying to create a routine that enables the user to change the iProperties on an assembly through Apprentice. I had a sample file that was working last week but when I ran it again I suddenly have a runtime error -2147467259 (80004005). Here is the sample below:
Private Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long Private Type OPENFILENAME lStructSize As Long hwndOwner As Long [code]....
I search a way in a Csharp program to read iproperties without open file in appentrice because it's time consumption. When we right-click on the file in the windows explorer, the iproperties come instantly.
Something odd happens: I have two parts, last saved with exactly the same Inventor-Build (2011 SP1 (Build 150282100, 282)). After changing the display name of these two parts, the debugger shows the correct value for the DisplayName-Attribute. But when I open the files, Inventor displays the correct value for one file, but not for the other. In the corrupted file, the old value is displayed.
I'm trying to Copy an Assembly via the Apprentice Server functionality.
But I don't want to copy all files with the filesave as feature. Some of the files, has to be used again as the source file. For Example Content Center files should not be copied. Or maybe also some specific defined internal standard files.
Is there a possibility to get this work?
In the moment, I got all these files via:
[...] For each Element As Inventor.ApprenticeServerDocument In doc.AllReferencedDocuments [...]
maybe it's possible to say something like that:
If Element=ContentCenterDocument then BlaBlaBla
I know, there's an "Inventor.ObjectTypeEnum.kContentCenterObject", but I don't know, how to use it, to check the ApprenticeServerDocument with that.-
I´m trying to access ComponentDefinition.ReferenceComponents.DerivedPartComponents using Apprentice Server but it tells me "Not implemented". Is there any other way to figure out whether a component is derived or not?
I am having problems printing to drawing sizes other then A Size (Letter).
I have scanned through the messages in this Newsgroup and tried everything that I have found, including making sure that I set the properties in a specific order.
No matter what size I specify, the printer spits out the drawing on an A Size piece of paper.
Here is my Private objApprenticeServerApp As New ApprenticeServerComponent Private Sub PlotInventorDrawing(strDwgPath As String, strPlotSize As String, strPlotter As String) ' Open a document. Dim odoc As ApprenticeServerDocument [Code] .......
A way to print DWF files using a batch file or with a command line. We use Vault and publish all our DWF's to an external shared network folder. This is a standard feature in Vault but we now would like to reference and print those files from Baan ERP using a script. Is it possible to do this using Design Review?
We are using Inventor 2012 professional, 2 seats. When we create a .dwg or .dwf file and dimension our parts the Diameter and Angle symbols print as the letter 'P".
The symbols show on the screen correctly, but do not print?
I am trying to batch plot a series of IDW drawings through task scheduler, the results is the wrong proportions and size, I am wondering if there is setup command in task scheduler that can be modified or if the proportions are wrong due to the IDW setup within Inventor itself i.e. page not setup correctly.
Autodesk Inventor Professional 2013 SP2 64-Bit Edition Windows 7 HP Z400, Intel Xeon W3550 3.07GHz 12.0GB RAM, ATI FirePro V4800 (FireGL)
I am working in Inventor Professional 2008, using the harness package. I have a few white wires in the model I am trying to print off as a nailboard and in a routing diagram. The problem is simply that white wires do not print well on white paper. I can print pdfs using "print all colors as black" but then all greyed out components print poorly.Is there a way to print an outline on these wires, for example?
My production team uses the Inventor View to view drawings once they are released from engineering. Sometimes they get printed so they can send a copy to our vendors. When ever they print from Inventor View 2014 the lines that are on the Visible Layer do not print. Also the lines in the titeblock are not very dark even though the "print all colors black" has been checked. It does not matter which printer or computer is used.
We are using inventor 2012 at my school and have recently purchased a makerbot 3D printer abd having lots of fun. However i recently created a model that has an M40 Thread as part of the model. However when i try to 3D print it, it doesn't recognise the thread and it isn't printed. I see the thread on the ipt but once it is saved as an stl it seems to disappear.
We've been having trouble with all our IDW's, whenever we put a dimension or text with the diameter symbol it plots as 'Q'.
Even in print preview it still appears as the diameter symbol, although when actually printed, it comes out as 'Q'. To combat this in the meantime we have firstly been creating PDF's which display the correct diameter symbol and then printing.
I need some 3D prototype, but there should not be nothing more. I mean any Autodesk logos like in drawings. How to print something from Inventor Student edition?
We have created a complex Inventor drawing (Inventor 2013) of a very large plant item which we need to print at about 2AO to put up on a wall for training use. We want to create a high resolution PDF file of the drawing first and then print the PDF having checked the quality and resolution in Acrobat Reader.
We have tried exporting to PDF but we found that the colour shaded fills, behind the lines, are too compressed and the resolution very poor. We tried increasing the paper size but this did not work.We have tried creating a plot file by printing to file using the driver of a large roll feed plotter and then creating a PDF from the resulting file. This was a little more successful but still a long way short of the resolution or line quality we require. When you zoom in the curved lines are very jagged and the colour fill still not good.
We tried printing to a generic Postscript driver but this was even worse as we didn't have enough control over paper size or resolution.
I was wondering if there is a macro for printing and PDFing a drawing simulataneously so I don't have to essentially print the same drawing twice. I have done a little research thus far and have turned up nothing. They don't have to necessarily print and pdf at the same time, rather have one print and then the other PDF (or vice versa) once completed?
I've got a drawing that is 14"x12" and have a printer that can only handle 8.5 x 11 sheets. I need to print it out full scale because I plan on using the drawing to cut something out. In school, I have seen my teacher print the drawing across multiple sheets, and then he simply tapes the sheets together. I have tried every configuration possible and have had no success.
I have written a program within Inventor that list all components of an assy with their properties (iproperties and properties from Producstream) and allow an export of the bill of material to Excel with our company layout.
I want to add a function to my program in order to print all drawings that belong to an assy.
I have the list of components and I want to use the new functionality of the Producstream menu that allows us to open the attached drawing.
But I don’t know which library and which property.
I'm doing a spoof image of 'The Apprentice' logo (skyline, two-tone image of Trump etc...) and included in the subtle changes is the replacement of Don's image with that of another guy (my friend Nick - that's who the print is for). I have a full-colour image of Nick, but can anyone tell me what steps in Photoshop 6.0 I can go through to end up with a style similar to that used for Trump? I came close when using the Filter>Artistic>Cutout function, but the resulting look was lacking too many facial features...
I am running Inventor 2013 Professional 64 bit. When I print to an Adobe PDF I have selected "Remove object line weights". The problem I am experiencing is that the result is the same whether it is checked or not. The result I would expect is that the object line weights won't display on the pdf.