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: 

Inventor 2013 DE: BUG: Export IDW to AutoCAD DWG: Lines/Spline in the drawing.

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
Juergen_Wagner
4398 Views, 8 Replies

Inventor 2013 DE: BUG: Export IDW to AutoCAD DWG: Lines/Spline in the drawing.

Problem:
Export IDW to AutoCAD DWG: Lines/Spline in the drawing.
 
Samplemodel: 
1. open baugruppe1.idw > Save copy as: AutoCAD DWG
2. open DWG in ACADM 2013
 
Result: 
 
2012-08-28_16-35-11.png
8 REPLIES 8
Message 2 of 9
jingyi.liu
in reply to: Juergen_Wagner

Hi Jwagner

I reproduced your issue, it definitely is a bug, thanks for your report, I will log it as a defect.



Jingyi Liu

Inventor Product Manager
Message 3 of 9
Juergen_Wagner
in reply to: jingyi.liu
Message 4 of 9
lark22
in reply to: Juergen_Wagner

The same thing happens when exporting from Inventor 2013 .dwg to Autocad .dwg

Message 5 of 9

Hello,

 

did anyone find a solution for this? It's already logged with development from August 2013 but still no solution.

 

Sašo.

-----------------------------------------------------------------------
AutoDXF - automatic flat pattern creation and batch export to DXF for Inventor

Please use "Accept as Solution" & give "Kudos" if this response helped you.
Message 6 of 9
jingyi.liu
in reply to: Juergen_Wagner

Hi, All

It seems many users are blocked by the exporting issue. Regarding the data attached in previous post, there is a solution to address the issue. But please pay attention, below change on exporting setting will impact all spline objects, it will replace spline with polylines.  We can't guarantee the results for any cases. Please try belows only when you face exporting issues.

 

The way to

  • Click option when export AutoCAD dwg file
  • Click next until you see "save configuration" button
  • Select folder and name the file, exit the exporting.
  • Save a configuration file.jpg
  • Open the configuration file by notepad, find the line " REPLACE SPLINE=NO", change the NO with YES, save the file.

 

  • Repeat the exporting and click option, but this time load the configuration file you have modified.

load the configuration file.jpg

 

  Save exported AutoCAD DWG file, and check the result.

 

 

If you still can't solve the issue after changing, please send your dataset to us, it will be very helpful for development team to get the final solution.

 

Thanks in advance.



Jingyi Liu

Inventor Product Manager
Message 7 of 9
SašoPrijatelj
in reply to: jingyi.liu

I works!

 

I wish someone told me this half year ago... I was looking for that "replace splines" option everywhere but in that location.

 

Thanks.

 

Sašo.

-----------------------------------------------------------------------
AutoDXF - automatic flat pattern creation and batch export to DXF for Inventor

Please use "Accept as Solution" & give "Kudos" if this response helped you.
Message 8 of 9
^_^clovis^_^
in reply to: jingyi.liu

Hello,

I'm using Inventor 2014 pro and the problem remains :

left : inventor | right : autocad and (part) modified ini

 

Thanks for any help

Message 9 of 9
^_^clovis^_^
in reply to: ^_^clovis^_^

Until a patch is available, I can't bear having a durty dwg Smiley Mad

(defun c:cll( / acadob count aob listSpline alay lPoints nbp p1 p2 okList)
	;remove non Spline
	(setq acadob(vla-get-activeDocument(vlax-get-acad-object)))
	(setq okList
		(ssget "x" '( 	(-4 . "<NOT")(-4 . "<OR")
						(0 . "SPLINE")
					(-4 . "OR>")(-4 . "NOT>"))
		)
	)
	;change Spline
	(setq count 0)
	(repeat (sslength okList)
		(setq aob (vlax-ename->vla-object(ssname okList count)))
		(vla-put-visible aob 0)
		(setq count (1+ count))
	)
	(defun makeLine ( point1 point2 lay / )
		(entmake
			(list
				'(0 . "LINE") 
				'(100 . "AcDbEntity")
				(cons 8 lay)
				'(100 . "AcDbLine")
				point1
				point2
			)
		)
	)
	(Prompt "\nSelect Spline to change..")
	(setq listSpline (ssget '((100 . "AcDbSpline"))))
	(setq count 0)
	(repeat (sslength listSpline)
		(setq aob (vlax-ename->vla-object(ssname listSpline count)))
		(setq alay (vla-get-layer aob))
		(setq lpoints (vlax-safearray->list(vlax-variant-value(vla-get-controlpoints aob))))
		(setq nbp (length lPoints))
		(setq 	p1 (list 	10
							(nth 0 lPoints)
							(nth 1 lPoints)
							0.0)
				p2 (list	11
							(nth (- nbp 3) lPoints)
							(nth (- nbp 2) lPoints)
							0.0
					)
		)
		(makeLine p1 p2 alay)
		(setq count(1+ count))
	)
	(setvar "cmdecho" 0)
	(command "erase" listSpline "")
	(setvar "cmdecho" 1)
	;reset
	(setq count 0)
	(repeat (sslength okList)
		(setq aob (vlax-ename->vla-object(ssname okList count)))
		(vla-put-visible aob -1)
		(setq count (1+ count))
	)
	(princ)
)

 

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

Post to forums  

Autodesk Design & Make Report