.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Command for insert block.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
163 Views, 3 Replies
03-22-2012 06:57 AM
Hi,
Any body, can you please give me the command for Insert block with file name.
using .net code (SendStringToExecute)
Regards,
Raman
Re: Command for insert block.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-22-2012 07:48 AM in reply to:
RamanSBV
Isn't it just SendStringToExecute("_.insert ", true,false,false)
-Ted
Re: Command for insert block.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-25-2012 10:25 PM in reply to:
TJK77
this looks gud.
But i need to pass file name (.dwg file) as paramter to to this command (insert).
So, how i can use this in SendStringToExecute("_.insert ", true,false,false)
Please advice...
Regards,
Raman
Re: Command for insert block.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-25-2012 10:39 PM in reply to:
RamanSBV
Hi
The SendStringToExecute first argument have to be the same as inputs at command line IOW the same as script (.scr) content.
SendStringToExecute(@"_.insert "F\Blocks\Block.dwg" ", true,false,false);
Gilles Chanteau

