Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sketched symbol

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
94 Views, 3 Replies

sketched symbol

I have a "last saved" symbol. I'd like to put it
in the template.idw so every time i creat a new
drawing the symbol will be inserted automatically.

Seems it's not working the way i expected.

Anybody any idea?

Thanks
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

You can copy it from you original drawing, and
paste it into the idw but both have to be open.  Highlight it in the
original drawing in the browser.  highlight the item control c. 
Go to the idw templates browser and go to sketch section in the browser, control
v.

 

Ole


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
have a "last saved" symbol. I'd like to put it
in the template.idw so
every time i creat a new
drawing the symbol will be inserted
automatically.

Seems it's not working the way i expected.

Anybody any idea?

Thanks

Message 3 of 4
Anonymous
in reply to: Anonymous

I think what he want is the ability to hit "New" and have the symbols show up.
By default, this does not work (a big failure, if you ask me). BUT, Kent Keller
has created a routine that will do what you want. Basicly, it OPENS the
template, save copy as..., close template, open new file. This keeps all symbols
(and rev block) inserts. Just paste this into your "default.ivb" (Change path to
YOUR template directory)

Public Sub NewDrawing()

Dim oDoc As DrawingDocument

Set oDoc = ThisApplication.Documents.Open("C:\AutoDesk\Inventor
7\Templates\Standard.idw", True)

Dim oFileDlg As FileDialog

Call ThisApplication.CreateFileDialog(oFileDlg)

oFileDlg.Filter = "Inventor Drawing File (*.idw)|*.idw|All Files (*.*)|*.*"

oFileDlg.DialogTitle = "New File Name"

oFileDlg.CancelError = True
On Error Resume Next
oFileDlg.ShowSave

oDoc.SaveAs oFileDlg.FileName, True

oDoc.Close True
Set oDoc = ThisApplication.Documents.Open(oFileDlg.FileName, True)

End Sub


--
Dave Jacquemotte
Automation Designer
www.autoconcorp.com



"Ole Germer" wrote in message
news:FD7B564EFC7FF72C127523470882A6A3@in.WebX.maYIadrTaRb...
> You can copy it from you original drawing, and paste it into the idw but both
have to be open. Highlight it in the original drawing in the browser.
highlight the item control c. Go to the idw templates browser and go to sketch
section in the browser, control v.
>
> Ole
> "lijieliang" wrote in message
news:f17f799.-1@WebX.maYIadrTaRb...
> I have a "last saved" symbol. I'd like to put it
> in the template.idw so every time i creat a new
> drawing the symbol will be inserted automatically.
> Seems it's not working the way i expected.
>
> Anybody any idea?
>
> Thanks
>
Message 4 of 4
Anonymous
in reply to: Anonymous

Oh yeah, I forgot. After pasting this into your default, you should close IV,
re-start IV, go into customize and put the macro icon in your toolbars. Read S.
Dotson's tutorial on creating icons for futher info.

--
Dave Jacquemotte
Automation Designer
www.autoconcorp.com



"Dave Jacquemotte" wrote in message
news:AD8B3CB886F0D66915E46BA46E5C112D@in.WebX.maYIadrTaRb...
> I think what he want is the ability to hit "New" and have the symbols show up.
> By default, this does not work (a big failure, if you ask me). BUT, Kent
Keller
> has created a routine that will do what you want. Basicly, it OPENS the
> template, save copy as..., close template, open new file. This keeps all
symbols
> (and rev block) inserts. Just paste this into your "default.ivb" (Change path
to
> YOUR template directory)
>
> Public Sub NewDrawing()
>
> Dim oDoc As DrawingDocument
>
> Set oDoc = ThisApplication.Documents.Open("C:\AutoDesk\Inventor
> 7\Templates\Standard.idw", True)
>
> Dim oFileDlg As FileDialog
>
> Call ThisApplication.CreateFileDialog(oFileDlg)
>
> oFileDlg.Filter = "Inventor Drawing File (*.idw)|*.idw|All Files
(*.*)|*.*"
>
> oFileDlg.DialogTitle = "New File Name"
>
> oFileDlg.CancelError = True
> On Error Resume Next
> oFileDlg.ShowSave
>
> oDoc.SaveAs oFileDlg.FileName, True
>
> oDoc.Close True
> Set oDoc = ThisApplication.Documents.Open(oFileDlg.FileName, True)
>
> End Sub
>
>
> --
> Dave Jacquemotte
> Automation Designer
> www.autoconcorp.com
>
>
>
> "Ole Germer" wrote in message
> news:FD7B564EFC7FF72C127523470882A6A3@in.WebX.maYIadrTaRb...
> > You can copy it from you original drawing, and paste it into the idw but
both
> have to be open. Highlight it in the original drawing in the browser.
> highlight the item control c. Go to the idw templates browser and go to
sketch
> section in the browser, control v.
> >
> > Ole
> > "lijieliang" wrote in message
> news:f17f799.-1@WebX.maYIadrTaRb...
> > I have a "last saved" symbol. I'd like to put it
> > in the template.idw so every time i creat a new
> > drawing the symbol will be inserted automatically.
> > Seems it's not working the way i expected.
> >
> > Anybody any idea?
> >
> > Thanks
> >
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report