Currently in autocad we start the print/plot command and then the command line shows options for the drawing stamp. There are several options including for approval, approved for construction, test only and others. When the appropriate number associated with the correct drawing stamp it lets you pick an insertion point and inserts the drawing stamp with a curretn date under the stamp to show when the drawing was plotted. After the drawing stamp is inserted it returns to the print/plot dialog.
If any IV users have a simular drawing stamp with date that is put on their drawings, I would like to hear how it was accomplished.
I have played with a sketched symbol and with ilogic can insert the symbol and start the print/plot command but I do not know how to make the stamp selection in ilogic automatic with a parameter or ipropery.
If ilogic is the way to go with this please reply with suggestions and it not please reply with other options to accomplish the drawing stamp insertions with current date.
see this link
That looks like it would work well but in my case I kind of pictured have several sketch symbols (one for each stamp option), then somewhere have a parameter or ipropery that you select or enter the stamp needed and when an ilogic rule was ran it would look to see whcih stamp was selected and insert that stamp in a specified location on the drawing and update the date that is under the stamp and then initiate the plot command.
The first link just dealt with the plot date stamp not how to deal with miltiple stamp selection and the second link was a purchase item and that will not be possible.
Is it possible with ilogic to prompt the user for input to select the stamp needed and then insert that stamp.
Yes, it is possible to prompt the user for input-- check out Forms in iLogic. Combine the information in the first link with a custom form to get the function you need. Since nobody is offering a ready-made solution for free, you will either have to learn iLogic for yourself or pay someone to for their time.
Let me volunteer
Attached is a sample IDW (that can be used as drawing template if you like).
Display the iLogic browser and start Form1.
It allows you to select 3 status choices.
The result is stored in the Status iProperty and in the drawing titleblock.
And the plot date of course is also introduced in the titleblock.
Here is the ilogic rule that uses a multi-choice parameter called "DrawingStamp"
Dim odrawdoc As DrawingDocument odrawdoc = ThisApplication.ActiveDocument customPropertySet = odrawdoc.PropertySets.Item("Inventor User Defined Properties") Try prop = customPropertySet.Item("Plotdatestamp") Catch customPropertySet.Add("", "Plotdatestamp") End Try Try Dim PlotDate As Date PlotDate = Now iProperties.Value("Custom", "Plotdatestamp") = PlotDate iProperties.Value("Status", "Status") = DrawingStamp Catch End Try InventorVb.DocumentUpdate() Dim oCtrlDef As ControlDefinition oCtrlDef = ThisApplication.CommandManager.ControlDefinitions.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.